跳转到主要内容

章节Python 官方文档

Howto

30 页更新于 3 天前

开始阅读

本章内容30

  1. 01 A conceptual overview of `!asyncio` This HOWTO <how-tos> article seeks to help you build a sturdy mental model of how asyncio fundamentally w... 3 天前
  2. 02 Migrating to Stable ABI for free threading (`abi3t`) Starting with the 3.15 release, CPython supports a variant of the Stable ABI that supports free-threaded <... 3 天前
  3. 03 Annotations Best Practices Abstract This document is designed to encapsulate the best practices for working with annotations dicts. If... 3 天前
  4. 04 argparse-optparse argparse Migrating optparse code to argparse The argparse module offers several higher level features no... 3 天前
  5. 05 Argparse Tutorial argparse This tutorial is intended to be a gentle introduction to argparse, the recommended command-line p... 3 天前
  6. 06 clinic orphan Argument Clinic How-To [!NOTE] The Argument Clinic How-TO has been moved to the Python Developer's G... 3 天前
  7. 07 Porting Extension Modules to Python 3 We recommend the following resources for porting extension modules to Python 3: The Migrating C extensions ... 3 天前
  8. 08 Curses Programming with Python curses Abstract This document describes how to use the curses extension module to control text-mode displa... 3 天前
  9. 09 Descriptor Guide Descriptors <descriptor> let objects customize attribute lookup, storage, and deletion. This guide has four... 3 天前
  10. 10 Enum HOWTO enum An Enum is a set of symbolic names bound to unique values. They are similar to global variables, but ... 3 天前
  11. 11 C API Extension Support for Free Threading Starting with the 3.13 release, CPython has support for running with the global interpreter lock (GIL) dis... 3 天前
  12. 12 Python support for free threading Starting with the 3.13 release, CPython has support for a build of Python called free threading where the ... 3 天前
  13. 13 Functional Programming HOWTO In this document, we'll take a tour of Python's features suitable for implementing programs in a functional... 3 天前
  14. 14 Debugging C API extensions and CPython Internals with GDB This document explains how the Python GDB extension, python-gdb.py, can be used with the GDB debugger to d... 3 天前
  15. 15 Python HOWTOs Python HOWTOs are documents that cover a specific topic in-depth. Modeled on the Linux Documentation Projec... 3 天前
  16. 16 Instrumenting CPython with DTrace and SystemTap DTrace and SystemTap are monitoring tools, each providing a way to inspect what the processes on a computer... 3 天前
  17. 17 ipaddress import ipaddress An introduction to the ipaddress module Overview This document aims to provide a gentle in... 3 天前
  18. 18 Isolating Extension Modules Abstract Traditionally, state belonging to Python extension modules was kept in C static variables, which ... 3 天前
  19. 19 Logging Cookbook This page contains a number of recipes related to logging, which have been found useful in the past. For li... 3 天前
  20. 20 Logging HOWTO logging This page contains tutorial information. For links to reference information and a logging cookbook,... 3 天前
  21. 21 The Python 2.3 Method Resolution Order [!NOTE] This is a historical document, provided as an appendix to the official documentation. The Method Re... 3 天前
  22. 22 Python support for the `perf map` compatible profilers The Linux perf profiler and samply are powerful tools that allow you to profile and obtain information abou... 3 天前
  23. 23 pyporting orphan How to port Python 2 Code to Python 3 Python 2 reached its official end-of-life at the start of 2020... 3 天前
  24. 24 Regular expression HOWTO Abstract This document is an introductory tutorial to using regular expressions in Python with the re modu... 3 天前
  25. 25 Remote debugging attachment protocol This protocol enables external tools to attach to a running CPython process and execute Python code remotel... 3 天前
  26. 26 Socket Programming HOWTO Abstract Sockets are used nearly everywhere, but are one of the most severely misunderstood technologies ar... 3 天前
  27. 27 Sorting Techniques Python lists have a built-in list.sort method that modifies the list in-place. There is also a sorted bui... 3 天前
  28. 28 timer file descriptor HOWTO Release 1.13 This HOWTO discusses Python's support for the linux timer file descriptor. Examples The follow... 3 天前
  29. 29 Unicode HOWTO This HOWTO discusses Python's support for the Unicode specification for representing textual data, and expl... 3 天前
  30. 30 HOWTO Fetch Internet Resources Using The urllib Package Introduction Related Articles You may also find useful the following article on fetching web resources with... 3 天前