Upload python files directly from your script to dropbox.
Project description
This script uses Dropbox API to upload your python code to your Dropbox app folder.
How to use:
- Create a new app from the dropbox developer section and get the access token,
- Insert your dropbox access token between "" on line 16 of codedrop.py,
- Import codedrop in your python script and use drop() function to upload codes to your dropbox app folder.
drop() needs two parameters, file_source & file_name. Type file for file_source and your desired string for file_name.
Example:
drop(file, "test-drop")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
CodeDrop-0.0.1.tar.gz
(1.3 kB
view hashes)