pydrive-upload-csv-snippet

file1 = drive.CreateFile({"mimeType": "text/csv"})
file1.SetContentFile("something.csv")
file1.Upload()