()
Add standard site-specific directories to the module search path.

    This function is called automatically when this module is imported,
    unless the python interpreter was started with the -S flag.
Add standard site-specific directories to the module search path.
Add standard site - specific directories to the module search path .
def main():
    """Add standard site-specific directories to the module search path.

    This function is called automatically when this module is imported,
    unless the python interpreter was started with the -S flag.
    """
    global ENABLE_USER_SITE

    orig_path = sys.path[:]
    known_paths = removeduppaths()
    if orig_path != sys.path:
        # removeduppaths() might make sys.path absolute.
        # fix __file__ and __cached__ of already imported modules too.
        abs_paths()

    known_paths = venv(known_paths)
    if ENABLE_USER_SITE is None:
        ENABLE_USER_SITE = check_enableusersite()
    known_paths = addusersitepackages(known_paths)
    known_paths = addsitepackages(known_paths)
    setquit()
    setcopyright()
    sethelper()
    if not sys.flags.isolated:
        enablerlcompleter()
    execsitecustomize()
    if ENABLE_USER_SITE:
        execusercustomize()
def main ( ) : global ENABLE_USER_SITE orig_path = sys . path [ : ] known_paths = removeduppaths ( ) if orig_path != sys . path : # removeduppaths() might make sys.path absolute. # fix __file__ and __cached__ of already imported modules too. abs_paths ( ) known_paths = venv ( known_paths ) if ENABLE_USER_SITE is None : ENABLE_USER_SITE = check_enableusersite ( ) known_paths = addusersitepackages ( known_paths ) known_paths = addsitepackages ( known_paths ) setquit ( ) setcopyright ( ) sethelper ( ) if not sys . flags . isolated : enablerlcompleter ( ) execsitecustomize ( ) if ENABLE_USER_SITE : execusercustomize ( )