Tin mới
annotationlib — Functionality for introspecting annotations
This module is automatically imported during initialization. The automatic import can be suppressed using the interpreter’s -S option.
This module is automatically imported during initialization. The automatic import can be suppressed using the interpreter’s -S option.
This module is automatically imported during initialization. The automatic import can be suppressed using the interpreter’s -S option.
This module is automatically imported during initialization. The automatic import can be suppressed using the interpreter’s -S option.
This module is automatically imported during initialization. The automatic import can be suppressed using the interpreter’s -S option.
Changed in version 3.14: site is no longer responsible for updating sys.prefix and sys.exec_prefix on Virtual Environments. This is now done during the path initialization. As a result, under Virtual Environments, sys.pr
A startup entry point file is a file whose name has the form name.start and exists in one of the site-packages directories described above. Each file specifies entry points to be called during interpreter startup, using
readline: GNU readline support for Python.
On systems that support readline, this module will also import and configure the rlcompleter module, if Python is started in interactive mode and without the -S option. The default behavior is to enable tab completion an
rlcompleter: Python identifier completion, suitable for the GNU readline library.
On systems that support readline, this module will also import and configure the rlcompleter module, if Python is started in interactive mode and without the -S option. The default behavior is to enable tab completion an
On systems that support readline, this module will also import and configure the rlcompleter module, if Python is started in interactive mode and without the -S option. The default behavior is to enable tab completion an
Join paths with os.path.join(), attempt to make the result absolute with os.path.abspath(), and return a 2-tuple containing the absolute path and its case-normalized form as produced by os.path.normcase(). If os.path.abs
The site module also provides a way to get the user directories from the command line: