About 600 results
Open links in new tab
  1. 6. Modules — Python 3.14.2 documentation

    2 days ago · Such a file is called a module; definitions from a module can be imported into other modules or into the main module (the collection of variables that you have access to in a script …

  2. Module Objects — Python 3.14.2 documentation

    2 days ago · Unlike PyModule_New(), the definition allows management of module state – a piece of memory that is allocated and cleared together with the module object. Unlike the module’s Python …

  3. 5. The import system — Python 3.14.2 documentation

    2 days ago · Python has only one type of module object, and all modules are of this type, regardless of whether the module is implemented in Python, C, or something else. To help organize modules and …

  4. Defining extension modules — Python 3.14.2 documentation

    1 day ago · Before any substantial code is executed, Python can determine which capabilities the module supports, and it can adjust the environment or refuse loading an incompatible extension. By …

  5. The Python Standard Library — Python 3.14.2 documentation

    1 day ago · The library contains built-in modules (written in C) that provide access to system functionality such as file I/O that would otherwise be inaccessible to Python programmers, as well as modules …

  6. abc — Abstract Base Classes — Python 3.14.2 documentation

    2 days ago · This module provides the infrastructure for defining abstract base classes (ABCs) in Python, as outlined in PEP 3119; see the PEP for why this was added to Python.

  7. 9. Classes — Python 3.14.2 documentation

    1 day ago · Class definitions place yet another namespace in the local scope. It is important to realize that scopes are determined textually: the global scope of a function defined in a module is that …

  8. Glossary — Python 3.14.2 documentation

    2 days ago · The collection of packages, modules and extension modules distributed as a part of the official Python interpreter package. The exact membership of the collection may vary based on …

  9. The Python Tutorial — Python 3.15.0a3 documentation

    2 days ago · After reading it, you will be able to read and write Python modules and programs, and you will be ready to learn more about the various Python library modules described in The Python …

  10. 1. Extending Python with C or C++ — Python 3.14.2 documentation

    2 days ago · These modules let you write Python code to interface with C code and are more portable between implementations of Python than writing and compiling a C extension module.