...
The main function for uploading or updating a file in the Python client is through the store
function. For more information about this function, see the Python Docs.
Code Block |
---|
import synapseclient from synapseclient import File syn = synapseclient.login() # Add a local file to an existing project (syn12345) on Synapse file = File(path='/path/to/raw_data.txt', parent='syn12345') file = syn.store(file) |
...