os.listdir('./')   # 等價linux ls

os.getcwd() #等價linux pwd

os.chdir('/usr/test')  #等價linux cd /usr/test

創作者介紹

quantum2nd 發表在 痞客邦 留言(0) 人氣( 2 )