docker_python
docker run -v $PWD:/usr/src/myapp -w /usr/src/myapp python:3.5 python helloworld.py
docker run -v $PWD:/usr/src/myapp -w /usr/src/myapp python:3.5 python helloworld.py
获取项目根目录绝对路径
‘’’
projectDir = os.path.dirname(os.path.dirname(os.path.abspath(file)))
‘’’