1.交互模式启动文件
由PYTHONSTARTUP指定
If this is the name of a readable file, the Python commands in that file are executed before the first prompt is displayed in interactive mode. The file is executed in the same namespace where interactive commands are executed so that objects defined or imported in it can be used without qualification in the interactive session. You can also change the prompts sys.ps1 and sys.ps2 in this file.
2.The Customization Modules
>>> importsite
>>> site.getusersitepackages()'/home/user/.local/lib/python3.5/site-packages'