Welcome!

module upload

programming language, python
module file name, upload.py

view the module file - download upload.py

Contents

Description
This  module  runs,  about  user  file  requests,  user  dropbox.com  account  -  uploads  to  Dropbox.  
This  module  requires,  as  a  module:  function:  var  arg,  a  user  dropbox  app:  access  token;  described  herein.
To  do  this,  the  user  must  have  or  build  a  dropbox.com  account  app.
         It's  not  much  work  -  MERELY  A  DROPBOX  FOLDER  WITH  SOME  SPECIAL  SETTINGS.  See,  dropbox.com.


Parameters
v_1  =  list([
         "fileToUpload.py",
         "anotherFile.txt"
])
import  upload  as  m_1
m_1.f_1(v_1)


Procedure
1.  Open  user  dropbox  account  app  settings  page,  example:
         Login  to  user  Dropbox  account
         https://www.dropbox.com/developers/apps/info/
2.  Generate  access  token
3.  Copy  access  token
4.  If  you  do  not  have  an  empty  file,  called,  "access_token.py",  build  one.
         Reference  -  https://helpwithcode.w3spaces.com/modulels_descriptions/access_token.html
5.  Navigate  to  access_token.py;  open  it.
6.  Paste  the  copied  access  token,  from  Step  3,  above.
7.  Save  the  file.
8.  Close  the  file.
9.  Terminal  commands:
import  upload  as  m_1
v_1  =  list([
   "myFile_1.txt",
   "myFile_2.py",
   "<etc.>"
])
m_1.f_1(v_1)