# prodesire/python-guide-cn

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/prodesire-python-guide-cn).**

4,432 stars · 758 forks · Batchfile · NOASSERTION

## Links

- GitHub: https://github.com/Prodesire/Python-Guide-CN
- Homepage: http://prodesire.github.io/Python-Guide-CN/
- awesome-repositories: https://awesome-repositories.com/repository/prodesire-python-guide-cn.md

## Description

Python-Guide-CN is a Chinese translation of a comprehensive guide to idiomatic Python programming and software development. It serves as a curated programming tutorial and ecosystem reference, providing a structured path for learning Python syntax, standard libraries, and professional coding patterns.

The project distinguishes itself by offering detailed instructions for setting up development environments across Windows, macOS, and Linux. It specifically focuses on the selection of interpreters and the management of virtual environments to ensure a consistent workspace.

The guide covers a broad range of technical capabilities, including software testing workflows, package distribution, and the implementation of coding best practices. It further provides guidance on web development, REST API construction, and scientific computing, including data analysis and visualization.

## Tags

### Education & Learning Resources

- [Chinese Language Translations](https://awesome-repositories.com/f/education-learning-resources/technical-document-translations/chinese-language-translations.md) — Provides a comprehensive Chinese translation of professional Python programming guidelines and technical documentation.
- [Curated Resource Lists](https://awesome-repositories.com/f/education-learning-resources/curated-resource-lists.md) — Organizes a wide array of external Python libraries and frameworks into curated paths for structured learning.
- [Python Programming Tutorials](https://awesome-repositories.com/f/education-learning-resources/python-programming-tutorials.md) — Provides a structured tutorial path for learning Python syntax, standard libraries, and professional patterns.
- [Algorithm Implementations](https://awesome-repositories.com/f/education-learning-resources/algorithm-implementations.md) — Provides clean, pedagogical code implementations for standard statistical and neural network architectures. ([source](https://prodesire.github.io/Python-Guide-CN/scenarios/ml.html))
- [Docstring Example Verifications](https://awesome-repositories.com/f/education-learning-resources/documentation-examples/compiler-verified-examples/docstring-example-verifications.md) — Explains how to execute code snippets embedded in docstrings to verify usage examples. ([source](https://prodesire.github.io/Python-Guide-CN/writing/tests.html))
- [Technical Reference Manuals](https://awesome-repositories.com/f/education-learning-resources/technical-reference-manuals.md) — Aggregates official specifications and technical manuals into a centralized reference for Python developers.

### Software Engineering & Architecture

- [Python Best Practices](https://awesome-repositories.com/f/software-engineering-architecture/development-best-practices/python-best-practices.md) — Provides comprehensive guidance on Python-specific idioms, conventions, and tooling for high-quality code. ([source](https://prodesire.github.io/Python-Guide-CN/))
- [Code Documentation Standards](https://awesome-repositories.com/f/software-engineering-architecture/code-documentation-standards.md) — Establishes standards for using inline comments and docstrings to document code logic and behavior. ([source](https://prodesire.github.io/Python-Guide-CN/writing/documentation.html))
- [Language Pitfalls](https://awesome-repositories.com/f/software-engineering-architecture/coding-best-practices/engineering-best-practices/language-pitfalls.md) — Explains how to identify and avoid common Python language-specific traps and implementation errors. ([source](https://prodesire.github.io/Python-Guide-CN/writing/gotchas.html))
- [Function Decorators](https://awesome-repositories.com/f/software-engineering-architecture/higher-order-function-wrapping/function-decorators.md) — Demonstrates using function decorators to separate core logic from cross-cutting concerns. ([source](https://prodesire.github.io/Python-Guide-CN/writing/structure.html))
- [Module Hierarchies](https://awesome-repositories.com/f/software-engineering-architecture/module-hierarchies.md) — Provides a structured approach to organizing source code into logical module hierarchies. ([source](https://prodesire.github.io/Python-Guide-CN/writing/structure.html))
- [Repository Structures](https://awesome-repositories.com/f/software-engineering-architecture/project-management-governance/repository-maintenance/project-organization/repository-structures.md) — Defines a standardized directory layout for organizing source code, licenses, and tests. ([source](https://prodesire.github.io/Python-Guide-CN/writing/structure.html))
- [Asynchronous Task Managers](https://awesome-repositories.com/f/software-engineering-architecture/asynchronous-task-managers.md) — Explains how to use event loops to execute multiple network requests concurrently and manage background operations. ([source](https://prodesire.github.io/Python-Guide-CN/scenarios/network.html))
- [Project Documentation Standards](https://awesome-repositories.com/f/software-engineering-architecture/project-documentation-standards.md) — Guides the organization of project-level documentation, including README, LICENSE, and CHANGELOG files. ([source](https://prodesire.github.io/Python-Guide-CN/writing/documentation.html))
- [Project Packaging Standards](https://awesome-repositories.com/f/software-engineering-architecture/project-packaging-standards.md) — Describes how to bundle applications, structure project repositories, and freeze code for deployment. ([source](https://prodesire.github.io/Python-Guide-CN/))
- [Test Environment Isolation](https://awesome-repositories.com/f/software-engineering-architecture/sandboxed-execution-environments/test-environment-isolation.md) — Describes techniques for isolating test environments and ensuring consistency across multiple Python interpreters. ([source](https://prodesire.github.io/Python-Guide-CN/scenarios/ci.html))

### Content Management & Publishing

- [Learning Path Structuring](https://awesome-repositories.com/f/content-management-publishing/content-management-systems/content-architecture-modeling/document-models/document-sectioning/document-content-structuring/content-schema-definitions/modular-content-block-definitions/topic-based-modularity/learning-path-structuring.md) — Structures a vast set of technical Python capabilities into a modular hierarchy for progressive learning.

### Data & Databases

- [Collection Manipulators](https://awesome-repositories.com/f/data-databases/data-manipulation-libraries/collection-manipulators.md) — Teaches the use of generator expressions and comprehensions for memory-efficient manipulation of data collections. ([source](https://prodesire.github.io/Python-Guide-CN/writing/style.html))
- [Context Managers](https://awesome-repositories.com/f/data-databases/resource-management/resource-teardown/context-managers.md) — Implements the context manager pattern to ensure reliable resource setup and teardown. ([source](https://prodesire.github.io/Python-Guide-CN/writing/structure.html))
- [API Documentation Generators](https://awesome-repositories.com/f/data-databases/type-inspection-tools/runtime-introspection/docstring-extraction/api-documentation-generators.md) — Explains how to extract function signatures and docstrings to generate technical API references. ([source](https://prodesire.github.io/Python-Guide-CN/writing/documentation.html))

### Development Tools & Productivity

- [Local Development Environment Setup Guides](https://awesome-repositories.com/f/development-tools-productivity/local-development-environment-setup-guides.md) — Includes detailed setup guides for configuring Python interpreters and virtual environments across Windows, macOS, and Linux.
- [Python Environment Managers](https://awesome-repositories.com/f/development-tools-productivity/python-environment-managers.md) — Provides detailed instructions on selecting interpreters and managing virtual environments to ensure consistent workspaces.
- [Python Package Lifecycle Management](https://awesome-repositories.com/f/development-tools-productivity/python-package-lifecycle-management.md) — Provides a structured approach to managing the full lifecycle of Python packages, from installation to publishing. ([source](https://prodesire.github.io/Python-Guide-CN/starting/install/linux.html))
- [C Extension Compilation](https://awesome-repositories.com/f/development-tools-productivity/compilers-toolchains/c-extension-interfaces/c-extension-compilation.md) — Provides instructions for creating importable Python modules using C extension compilation for increased performance. ([source](https://prodesire.github.io/Python-Guide-CN/scenarios/speed.html))

### Programming Languages & Runtimes

- [Function Argument Passing](https://awesome-repositories.com/f/programming-languages-runtimes/function-argument-passing.md) — Covers the use of positional and keyword arguments to balance function flexibility and readability. ([source](https://prodesire.github.io/Python-Guide-CN/writing/style.html))
- [Interpreter Selection](https://awesome-repositories.com/f/programming-languages-runtimes/interpreter-selection.md) — Provides a guide for selecting the appropriate Python interpreter implementation based on execution speed and ecosystem needs. ([source](https://prodesire.github.io/Python-Guide-CN/starting/which-python.html))
- [Package Dependency Management](https://awesome-repositories.com/f/programming-languages-runtimes/package-dependency-management.md) — Guides developers on downloading and managing external libraries and dependencies using package managers. ([source](https://prodesire.github.io/Python-Guide-CN/starting/install/osx.html))
- [Package Management Tooling](https://awesome-repositories.com/f/programming-languages-runtimes/package-management-tooling.md) — Guides users through the process of downloading, installing, and managing compatible application packages via CLI. ([source](https://prodesire.github.io/Python-Guide-CN/starting/install/win.html))
- [Idiomatic Patterns](https://awesome-repositories.com/f/programming-languages-runtimes/python-language-features/idiomatic-patterns.md) — Documents idiomatic Python patterns and professional coding styles to guide developers toward industry standards.
- [Sequence Unpacking](https://awesome-repositories.com/f/programming-languages-runtimes/sequence-unpacking.md) — Demonstrates language-level techniques for assigning list items to multiple variables using extended unpacking. ([source](https://prodesire.github.io/Python-Guide-CN/writing/style.html))
- [Bytecode Management](https://awesome-repositories.com/f/programming-languages-runtimes/bytecode-management.md) — Explains how to manage the generation and exclusion of bytecode files to optimize performance and clean source control. ([source](https://prodesire.github.io/Python-Guide-CN/writing/gotchas.html))
- [Hash Table Lookups](https://awesome-repositories.com/f/programming-languages-runtimes/hash-table-lookups.md) — Demonstrates how to use hash-based retrieval and hash tables to optimize search speed for large datasets. ([source](https://prodesire.github.io/Python-Guide-CN/writing/style.html))
- [Native Machine Code Compilation](https://awesome-repositories.com/f/programming-languages-runtimes/native-machine-code-compilation.md) — Explains the translation of high-level Python instructions into native machine code for increased execution speed. ([source](https://prodesire.github.io/Python-Guide-CN/scenarios/scientific.html))
- [JIT Compilation Accelerators](https://awesome-repositories.com/f/programming-languages-runtimes/python-compilers/jit-compilation-accelerators.md) — Describes the use of just-in-time compilation to accelerate CPU-intensive loops and numerical tasks. ([source](https://prodesire.github.io/Python-Guide-CN/scenarios/speed.html))

### Testing & Quality Assurance

- [Debugging and Testing](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/diagnostic-toolchains/debugging-and-testing.md) — Provides a comprehensive approach to verifying code correctness through integrated testing and structured logging. ([source](https://prodesire.github.io/Python-Guide-CN/))
- [Docstring Testing](https://awesome-repositories.com/f/testing-quality-assurance/docstring-testing.md) — Explains how to run embedded code snippets within documentation to confirm correct output. ([source](https://prodesire.github.io/Python-Guide-CN/writing/documentation.html))
- [Model Accuracy Evaluators](https://awesome-repositories.com/f/testing-quality-assurance/model-accuracy-evaluators.md) — Explains methods for measuring the precision and performance of machine learning models against benchmark datasets. ([source](https://prodesire.github.io/Python-Guide-CN/scenarios/ml.html))
- [Property-Based Testing](https://awesome-repositories.com/f/testing-quality-assurance/property-based-testing.md) — Covers methodologies for verifying software invariants by generating wide ranges of random inputs. ([source](https://prodesire.github.io/Python-Guide-CN/writing/tests.html))
- [Dependency Mocking](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/dependency-mocking.md) — Instructs on replacing module dependencies or network calls with controlled substitutes during testing. ([source](https://prodesire.github.io/Python-Guide-CN/writing/tests.html))
- [Cross-Interpreter Test Automation](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/e2e-integration-testing/end-to-end-testing/automated-software-testing/cross-interpreter-test-automation.md) — Describes running tests across various interpreters and configurations using a defined matrix. ([source](https://prodesire.github.io/Python-Guide-CN/writing/tests.html))
- [Unit Testing](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/unit/unit-testing.md) — Provides guidelines for validating the smallest testable parts of an application in isolation. ([source](https://prodesire.github.io/Python-Guide-CN/writing/tests.html))
- [Application Testing Workflows](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/unit/unit-testing/application-testing-workflows.md) — Outlines software testing workflows, including unit tests and automated suites for ensuring code correctness.
- [Test Orchestrators](https://awesome-repositories.com/f/testing-quality-assurance/test-orchestrators.md) — Outlines workflows for orchestrating automated test suites across remote servers for CI validation. ([source](https://prodesire.github.io/Python-Guide-CN/scenarios/ci.html))
- [Test Suite Organization](https://awesome-repositories.com/f/testing-quality-assurance/unit-testing-frameworks/test-suite-organization.md) — Offers methods for structuring and grouping individual test functions into manageable suites. ([source](https://prodesire.github.io/Python-Guide-CN/writing/structure.html))

### Web Development

- [Ecosystem Guides](https://awesome-repositories.com/f/web-development/ecosystem-guides.md) — Acts as a curated reference for selecting tools and libraries within the Python ecosystem for various development goals.
- [Python Web Frameworks](https://awesome-repositories.com/f/web-development/backend-development/web-frameworks/language-specific-ecosystems/python-web-frameworks.md) — Provides guidance on building web applications and REST APIs using various Python frameworks.
- [Ecosystem Recommendations](https://awesome-repositories.com/f/web-development/frontend-development-tools/frontend-frameworks/component-authoring/react-ecosystem/react-libraries/tooling-selection-guides/ecosystem-recommendations.md) — Offers curated recommendations for libraries and frameworks tailored to web development, data science, and other use cases. ([source](https://prodesire.github.io/Python-Guide-CN/))
- [RESTful API Development](https://awesome-repositories.com/f/web-development/restful-api-development.md) — Guides the construction of scalable web services using standard HTTP methods and routing. ([source](https://prodesire.github.io/Python-Guide-CN/scenarios/web.html))
- [Web Application Frameworks](https://awesome-repositories.com/f/web-development/web-application-frameworks.md) — Provides a reference for building scalable web applications using various frameworks. ([source](https://prodesire.github.io/Python-Guide-CN/scenarios/web.html))

### DevOps & Infrastructure

- [Application Distribution Strategies](https://awesome-repositories.com/f/devops-infrastructure/application-distribution-strategies.md) — Explains how to package, freeze, and publish projects for delivery across various operating systems. ([source](https://prodesire.github.io/Python-Guide-CN/))
- [Package Distribution](https://awesome-repositories.com/f/devops-infrastructure/package-distribution.md) — Covers packaging code for distribution via public or private package indices for easy discovery. ([source](https://prodesire.github.io/Python-Guide-CN/shipping/packaging.html))
- [Python Distribution Packaging](https://awesome-repositories.com/f/devops-infrastructure/python-distribution-packaging.md) — Covers the process of packaging applications and libraries for distribution via package indices or as standalone executables.

### Scientific & Mathematical Computing

- [Scientific Computing](https://awesome-repositories.com/f/scientific-mathematical-computing/high-performance-execution-environments/scientific-computing-platforms/scientific-computing.md) — Offers instruction on using specialized libraries for scientific computing, data analysis, and visualization.
- [Statistical Analysis Libraries](https://awesome-repositories.com/f/scientific-mathematical-computing/research-analysis-workflows/research-and-data-analysis-tools/statistical-analysis-libraries.md) — Guides the use of scientific computing packages for statistical computations and data analysis. ([source](https://prodesire.github.io/Python-Guide-CN/scenarios/ml.html))

### System Administration & Monitoring

- [Application Event Recording](https://awesome-repositories.com/f/system-administration-monitoring/application-event-recording.md) — Covers mechanisms for capturing and recording runtime diagnostic messages for troubleshooting and auditing. ([source](https://prodesire.github.io/Python-Guide-CN/writing/logging.html))
- [Monitoring Frameworks](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-frameworks.md) — Describes the implementation of extensible diagnostic layers to provide visibility into large-scale system health. ([source](https://prodesire.github.io/Python-Guide-CN/scenarios/admin.html))
- [System Resource Monitors](https://awesome-repositories.com/f/system-administration-monitoring/system-resource-monitors.md) — Explains how to retrieve and monitor real-time hardware and process performance metrics for CPU and memory. ([source](https://prodesire.github.io/Python-Guide-CN/scenarios/admin.html))

### Part of an Awesome List

- [Learning Resources](https://awesome-repositories.com/f/awesome-lists/learning/learning-resources.md) — Practical handbook for installation, configuration, and daily best practices.
