python获取当前项目所在文件路径(name ‘__file__‘ is not defined)

NoSuchKey