title: How to upload to google drive with python without authentication?
body: <p>I want to upload files to Google Drive with Google Script and Python.</p>
  <p>I don't want to do this with API because it's with JSON file and requesting a password to google account.</p>
  <p>I want to send from the Python file without a JSON file and without requesting a google account.</p>
  <p>I want to create a script in google script that will upload the file to the site.</p>
  <p>I found how to do it with html:</p>
  <pre><code>function saveFile(data,name,folderName) { 
     var contentType = data.substring(5,data.indexOf(';'));
  
     var file = Utilities.newBlob(
       Utilities.base64Decode(data.substr(data.indexOf('base64,')+7)), 
       contentType, 
       name
     ); //does the uploading of the files
     DriveApp.getFolderById(childFolderIdA).createFile(file);
  }
  
  </code></pre>
  <p>But I did not find how to do it with python.</p>
  <p>How do I send file with file to this code?</p>