About 50 results
Open links in new tab
  1. 6. Modules — Python 3.14.3 documentation

    3 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.3 documentation

    3 days ago · Modules defined using the C API typically use a module definition, PyModuleDef – a statically allocated, constant “description” of how a module should be created.

  3. 5. The import system — Python 3.14.3 documentation

    3 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. The Python Tutorial — Python 3.14.3 documentation

    3 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 …

  5. The Python Language Reference — Python 3.14.3 documentation

    3 days ago · The semantics of non-essential built-in object types and of the built-in functions and modules are described in The Python Standard Library. For an informal introduction to the language, …

  6. 1. Extending Python with C or C++ — Python 3.14.3 documentation

    3 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.

  7. pickle — Python object serialization — Python 3.14.3 documentation

    3 days ago · Python has a more primitive serialization module called marshal, but in general pickle should always be the preferred way to serialize Python objects. marshal exists primarily to support …

  8. typing — Support for type hints — Python 3.14.3 documentation

    3 days ago · Source code: Lib/typing.py This module provides runtime support for type hints. Consider the function below: The function surface_area_of_cube takes an argument expected to be an …

  9. logging — Logging facility for Python — Python 3.14.3 documentation

    This module defines functions and classes which implement a flexible event logging system for applications and libraries.

  10. 9. Classes — Python 3.14.3 documentation

    Feb 11, 2026 · The statements executed by the top-level invocation of the interpreter, either read from a script file or interactively, are considered part of a module called __main__, so they have their own …