Google pydrive uploading a file to specific folder
问题 I am trying to upload a file to my Google drive, the code below works. How can I specify to which folder to upload to i.e drive---shared with me--csvFolder from pydrive.auth import GoogleAuth from pydrive.drive import GoogleDrive gauth = GoogleAuth() gauth.LocalWebserverAuth() drive = GoogleDrive(gauth) file2 = drive.CreateFile() file2.SetContentFile('new_test.csv') file2.Upload() 回答1: You want to upload a file to the specific folder in your Google Drive using pydrive. If my understanding is