
Built-in Functions — Python 3.13.5 documentation
2 days 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 …
builtins — Built-in objects — Python 3.13.5 documentation
3 days ago · builtins — Built-in objects ¶ This module provides direct access to all ‘built-in’ identifiers of Python; for example, builtins.open is the full name for the built-in function open().
5. Data Structures — Python 3.13.5 documentation
2 days ago · >>> vec = [-4, -2, 0, 2, 4] >>> # create a new list with the values doubled >>> [x*2 for x in vec] [-8, -4, 0, 4, 8] >>> # filter the list to exclude negative numbers >>> [x for x in vec if x …
Built-in Types — Python 3.15.0a0 documentation
1 day ago · Built-in Types ¶ The following sections describe the standard types that are built into the interpreter. The principal built-in types are numerics, sequences, mappings, classes, …
The Python Standard Library — Python 3.13.5 documentation
2 days 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 …
Sorting Techniques — Python 3.13.5 documentation
1 day ago · Python lists have a built-in list.sort() method that modifies the list in-place. There is also a sorted() built-in function that builds a new sorted list from an iterable.
math — Mathematical functions — Python 3.13.5 documentation
2 days ago · math — Mathematical functions ¶ This module provides access to common mathematical functions and constants, including those defined by the C standard. These …
Built-in Constants — Python 3.13.5 documentation
1 day ago · A small number of constants live in the built-in namespace. They are: Constants added by the site module: The site module (which is imported automatically during startup, …
Introduction — Python 3.13.5 documentation
2 days ago · This manual is organized “from the inside out:” it first describes the built-in functions, data types and exceptions, and finally the modules, grouped in chapters of related modules.
operator — Standard operators as functions - Python
3 days ago · Listed below are functions providing a more primitive access to in-place operators than the usual syntax does; for example, the statement x += y is equivalent to x = …