我想上傳所有滿足一定條件的csv文件到一個數據庫。但是在我的代碼開始處遇到錯誤。python csv文件讀取和上傳
mypath = "D:\user\01367564\Project Coordinator\Database Trying\all data csv"
csv_name_reg = r'^[0-9]{11}_HKG_[0-9]{14}_v2-0.csv$'
誤差低於
File "D:\user\01367564\Project Coordinator\Database Trying\Upload_CA_Manifest.py", line 9
mypath = "D:\user\01367564\Project Coordinator\Database Trying\all data csv"
^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \uXXXX escape
你能幫助我嗎?謝謝。