【文件属性】:
文件名称:libdriveuploader:将文件上传到 Google Drive 中的指定文件夹
文件大小:2KB
文件格式:ZIP
更新时间:2021-07-07 13:30:40
Python
GDrive 上传器
作者:布赖恩·汤姆林森
描述
将文件上传到 Google Drive 中的指定文件夹
使用示例 1(作为 Lib)
from libdriveuploader import upload
config = {'email': 'gmailaddr', 'password': 'gmail password'}
filename = 'path/to/file'
foldername = 'folder in GDrive' # Can be subfolder, no parent needed
mimetype = 'type' # 'text/csv', 'application/pdf', etc...
result = upload(config, filename, foldername, mimetype)
>>> result
>>> <gdat
【文件预览】:
libdriveuploader-master
----.gitignore(12B)
----test.csv(64B)
----__init__.py(21B)
----README.md(826B)
----libdriveuploader.py(2KB)