Table of Contents
sys
sysconfig
__builtin__
future_builtins
__main__
warnings
contextlib
abc
atexit
traceback
__future__
gc
inspect
site
site.abs__file__()
site.addpackage()
site.addsitedir()
site.addsitepackages()
site.addusersitepackages()
site.aliasmbcs()
site.check_enableusersite()
site.execsitecustomize()
site.execusercustomize()
site.getsitepackages()
site.getuserbase()
site.getusersitepackages()
site.main()
site.makepath()
site.removeduppaths()
site.setBEGINLIBPATH()
site.setcopyright()
site.setencoding()
site.sethelper()
site.setquit()
user
site.
addpackage
Process a .pth file within the site-packages directory: For each line in the file, either combine it with sitedir to a path and add that to known_paths, or execute it if it starts with ‘import ‘.