Can I create a Google Drive folder using service account with Python?
<p>I can create a folder using account Owner but cannot share it with service account.</p>

<p>Is there a way for My Python script to create a folder using service account and then upload a file?</p>

<p>You can create a folder and upload file, same process flow as a real user when you using a service account.</p>

<h3>BUT</h3>

<p>As stated in this <a href="http://www.riskcompletefailure.com/2015/03/understanding-service-accounts.html" rel="nofollow">blog</a>, you have to remember that:</p>

<blockquote>
  <p>A service account is a sort of virtual user or robot account associated with a given project. It has an email address, and a cryptographic key pair.</p>
</blockquote>

<p>Also, there is a statement from a related <a href="http://stackoverflow.com/a/22247317/5995040">SO question</a> that:</p>

<blockquote>
  <p>There is no UI for Service Accounts. The files are only accessible to your app.</p>
</blockquote>

<p>I suggest that you share a folder from a real account to your service account so that accessing the files would be easier.</p>

<p>Hope this help!</p>

python google-drive-sdk