原创 簡單梳理下python的一些常用代碼

判斷文件或者文件夾是否存在 if(os.path.exists(rootdir) == False) 創建文件夾 os.mkdir(rootdir) 調用系統命令 os.system(cmd) 字典循環 for key,value in