📅  最后修改于: 2022-03-11 14:46:44.381000             🧑  作者: Mango
# If by "current working directory" you mean
# the directory in which is saved the script in execution, then:
import os
cwd = os.path.dirname(os.path.realpath(__file__))
print(cwd)