📜  python 参考脚本目录 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:09.021000             🧑  作者: Mango

代码示例1
>>> import os
>>> print(os.path.dirname(os.path.realpath(__file__))) 
C:\File\Location # Does not contain filename