os查看当前目录,创建目录命令

查看当前目录:os.getcwd()

创建目录:os.makedirs(path)

判断目录是否存在:os.path.exists(path)

发布了143 篇原创文章 · 获赞 21 · 访问量 20万+

猜你喜欢

转载自blog.csdn.net/weixin_40306397/article/details/89965729