import os # 建立的目錄路徑 folderpath = "/home/gtwang/my_folder" # 使用try 建立目錄 try: os.makedirs(folderpath) # 檔案已存在的例外處理 ...
確定! 回上一頁