Discussions
-
How do I upload file using Python
I've checked here and over at StackOverflow but couldn't find a solution. Nothing works. It says that I need refresh token (I have no clue where to get it) and an app key. import pathlibimport dropboxdropbox_access_token="my_token"app_key="my_app_key"folder = pathlib.Path(".")filename = "img.jpg"filepath = folder /…