python 获取当前工作目录

import os

current_dir = os.path.abspath(os.path.dirname(__file__))

猜你喜欢

转载自blog.csdn.net/qq_42527487/article/details/84302538