explaingit

taizilongxu/interview_python

17,297ShellAudience · developerComplexity · 1/5Setup · easy

TLDR

A comprehensive Chinese-language study guide of Python interview questions and answers covering language internals, OS concepts, databases, networking, and coding problems, read in the browser, nothing to install.

Mindmap

mindmap
  root((interview_python))
    What it does
      Interview study guide
      Python internals Q and A
      Chinese language
    Topics Covered
      Language features
      OS and concurrency
      Databases and Redis
      Networking
    Use Cases
      Interview prep
      Self-study
      Topic review
    Audience
      Job seekers
      Python developers
      Students
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Review Python language internals like the GIL, generators, decorators, and metaclasses before a job interview

USE CASE 2

Brush up on database concepts including MVCC, indexing, Redis, and MyISAM vs InnoDB for a backend engineering screen

USE CASE 3

Study networking fundamentals like TCP handshakes, HTTP vs HTTPS, and REST before a technical interview

USE CASE 4

Practice common algorithmic coding problems with the worked solutions included in the guide

Tech stack

Python

Getting it running

Difficulty · easy Time to first run · 5min

In plain English

This repository is a Chinese-language collection of interview questions about Python, packaged as a single long Markdown document. The README's description, 关于Python的面试题, translates as "Python-related interview questions", that is the whole project. There is no software to install or run, it is a study guide that a developer preparing for a job interview in China can read through to brush up on what gets asked. It is organised as one big table of contents followed by a question-and-answer section for each topic. The bulk of the material covers Python language features: how function arguments are passed, metaclasses, @staticmethod and @classmethod, class vs instance variables, iterators and generators, decorators and aspect-oriented programming, duck typing, __new__ vs __init__, singleton patterns, the Global Interpreter Lock, coroutines, closures, lambdas, copy vs deepcopy, garbage collection, and Python 2 vs 3 differences. Shorter sections cover operating systems (select/poll/epoll, deadlocks, virtual memory), databases (transactions, indexes, Redis, locks, MVCC, MyISAM vs InnoDB), networking (TCP handshakes, ARP, GET vs POST, HTTP vs HTTPS, REST, SOAP, RPC, XSS), Unix IPC, the red-black tree, and common coding-interview problems with worked solutions. Someone would use this if they are a Chinese-speaking developer preparing for a Python-focused interview and want one place to read through canonical answers and code snippets, or to test themselves against the topic list. The "language" the repository is tagged with is Shell, but in practice this is a documentation repo rather than a runnable program. The full README is longer than what was provided.

Copy-paste prompts

Prompt 1
Based on the interview_python guide, quiz me on Python garbage collection and the difference between __new__ and __init__ with code examples.
Prompt 2
Using the topics from interview_python, create a 20-question mock interview covering Python internals, database design, and networking.
Prompt 3
Explain Python's Global Interpreter Lock in plain English the way interview_python describes it, including why it matters for multi-threading.
Prompt 4
From interview_python, summarise the key differences between Python 2 and Python 3 that commonly come up in developer interviews.
Prompt 5
Walk me through implementing a singleton pattern in Python using the three common approaches described in interview_python.
Open on GitHub → Explain another repo

← taizilongxu on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.