abs_paths() |
Set all module __file__ and __cached__ attributes to an absolute path [extrait de abs_paths.__doc__] |
addpackage(sitedir, name, known_paths) |
Process a .pth file within the site-packages directory: [extrait de addpackage.__doc__] |
addsitedir(sitedir, known_paths=None) |
Add 'sitedir' argument to sys.path if missing and handle .pth files in [extrait de addsitedir.__doc__] |
addsitepackages(known_paths, prefixes=None) |
Add site-packages to sys.path [extrait de addsitepackages.__doc__] |
addusersitepackages(known_paths) |
Add a per user site-package to sys.path [extrait de addusersitepackages.__doc__] |
check_enableusersite() |
Check if user site directory is safe for inclusion [extrait de check_enableusersite.__doc__] |
enablerlcompleter() |
Enable default readline configuration on interactive prompts, by [extrait de enablerlcompleter.__doc__] |
execsitecustomize() |
Run custom site specific code, if available. [extrait de execsitecustomize.__doc__] |
execusercustomize() |
Run custom user specific code, if available. [extrait de execusercustomize.__doc__] |
getsitepackages(prefixes=None) |
Returns a list containing all global site-packages directories. [extrait de getsitepackages.__doc__] |
getuserbase() |
Returns the `user base` directory path. [extrait de getuserbase.__doc__] |
getusersitepackages() |
Returns the user-specific site-packages directory path. [extrait de getusersitepackages.__doc__] |
main() |
Add standard site-specific directories to the module search path. [extrait de main.__doc__] |
makepath(*paths) |
|
removeduppaths() |
Remove duplicate entries from sys.path along with making them [extrait de removeduppaths.__doc__] |
setcopyright() |
Set 'copyright' and 'credits' in builtins [extrait de setcopyright.__doc__] |
sethelper() |
|
setquit() |
Define new builtins 'quit' and 'exit'. [extrait de setquit.__doc__] |
venv(known_paths) |
|
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :