getcwd()方法获得当前工作目录的绝对路径 chdir()方法改变路径
import os print(os.getcwd()) os.chdir('../') print(os.getcwd())
上一篇 Rosalind Python|Finding a Protein Motif
下一篇 递归-牛客-BM74 数字字符串转化成IP地址
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号