📜  在 python 代码示例中获取目录

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

代码示例4
import os

#Get Current working Directory
currentDirectory = os.getcwd()

#Change the Current working Directory
os.chdir('/home/varun')