Answer the question
In order to leave comments, you need to log in
What is the easiest way to upload a file to google drive (Python)?
You need to save screenshots or pdf to google drive directly from the code that is hosted in the cloud.
Is it possible to somehow do without tokens and other authorization from Google? Security isn't that important.
Now I'm trying PyDrive, but it opens a browser page in which you need to manually confirm access. I have no idea how it will look in the cloud.
P.S. Perhaps there is another option for storing data in the cloud with a simpler API?
Answer the question
In order to leave comments, you need to log in
You can write a script to accept POST requests and publish it as a web application.
Example https://stackoverflow.com/questions/42217052/how-t...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question