
6. Modules — Python 3.14.3 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 …
5. The import system — Python 3.14.3 documentation
1 day 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 …
The Python Tutorial — Python 3.14.3 documentation
1 day 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 …
The Python Language Reference — Python 3.14.3 documentation
1 day 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, see The …
Module Objects — Python 3.14.3 documentation
4 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 …
1. Extending Python with C or C++ — Python 3.14.3 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.
pickle — Python object serialization — Python 3.14.3 documentation
2 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 …
9. Classes — Python 3.14.3 documentation
Feb 11, 2026 · 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 …
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.
Built-in Functions — Python 3.14.3 documentation
1 day ago · If the object is a module object, the list contains the names of the module’s attributes. If the object is a type or class object, the list contains the names of its attributes, and recursively of the …