Read dropbox file with Python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Read dropbox file with Python

Is it possible to read and write a text file stored in dropbox using Python? https://code.sololearn.com/c6aOtUuBFiv0/?ref=app

5th Jul 2020, 7:49 AM
Nor'wester 🌪️ 🇧🇩 (INACTIVE)
Nor'wester 🌪️ 🇧🇩 (INACTIVE) - avatar
9 Answers
+ 7
꧁༒Rishabh༒꧂ That's cause this link doesn't actually exist... But the code works.
5th Jul 2020, 8:43 AM
Nor'wester 🌪️ 🇧🇩 (INACTIVE)
Nor'wester 🌪️ 🇧🇩 (INACTIVE) - avatar
+ 3
Bagon Thanks, the code works. Could you mention a place where I could learn this urllib? https://code.sololearn.com/cjck7Y2waxD3/?ref=app
5th Jul 2020, 8:46 AM
Nor'wester 🌪️ 🇧🇩 (INACTIVE)
Nor'wester 🌪️ 🇧🇩 (INACTIVE) - avatar
+ 3
Dear 𝐊𝐢𝐢𝐛𝐨 𝐆𝐡𝐚𝐲𝐚𝐥, Tried to go through 224 code titles and now I'm seeing hazy. Sincerely, Nor'wester.
5th Jul 2020, 9:08 AM
Nor'wester 🌪️ 🇧🇩 (INACTIVE)
Nor'wester 🌪️ 🇧🇩 (INACTIVE) - avatar
+ 3
5th Jul 2020, 12:44 PM
Nor'wester 🌪️ 🇧🇩 (INACTIVE)
Nor'wester 🌪️ 🇧🇩 (INACTIVE) - avatar
+ 2
Bagon Can you please tell me whichever file he has given how can use urllib to get the content (just as an example)
5th Jul 2020, 8:01 AM
Arctic Fox
Arctic Fox - avatar
+ 2
Code Crasher Thanks!
6th Jul 2020, 2:22 PM
Nor'wester 🌪️ 🇧🇩 (INACTIVE)
Nor'wester 🌪️ 🇧🇩 (INACTIVE) - avatar
+ 2
import os os.system('pip install -qq requests') import requests print(requests.get("https://www.dropbox.com/s/89zv63jqsx9txpp/textfile.txt?raw=1").content)
16th Sep 2021, 6:30 PM
Sancho Godinho
Sancho Godinho - avatar
+ 1
Bagon Giving many errors in sololearn code playground
5th Jul 2020, 8:43 AM
Arctic Fox
Arctic Fox - avatar