this is the project records some common basics of python language and pkgs
- math
- thread, threadpool
- db, dbpool
- oop & class
- file
- exceptions
- logging
- compile/decompile
- others
- set by command line
# for unix
PYTHONPATH=project_path python somescript.py somecommand
# for windows
## sys_path.bat
@ECHO OFF
setlocal
set PYTHONPATH=%1
python %2 %3
endlocal
## cmd
pythonpath.bat project_path somescript.py somecommand
- set in .py(recommended)
import sys
sys.path.append('project_path')