I have a Python script that is running periodically on an AWS EC2 Ubuntu machine.
This script reads data from some files and sometimes changes data in them.
I wa
Python library that can help with this:
pip install cloudsync
then:
import cloudsync prov = cloudsync.create_provider("onedrive") creds = prov.authenticate() prov.connect(creds) with open("/my/local/file", "wb") as f: prov.download_path("/path/to/file/on/onedrive", f):