codebots.bots.drivebot.DriveBot.create_and_upload#

Method

DriveBot.create_and_upload(name='Hello_World.txt', content='Hello World!')[source]#

create a file with some content and upload it to your Google Drive.

Parameters:
path_to_filestr

complete path to the file to upload.

contentstr

content of the file.