Can you open remote files? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Can you open remote files?

If the (say) text file is on another server, how would you write the path to access it? I can understand how the path can be adapted if the file is on the same system as the python file, but not if the file is remote.

4th Jan 2017, 11:06 PM
Lokman Lau
Lokman Lau - avatar
1 ответ
+ 1
https://docs.python.org/2/library/httplib.html The code for it is near the bottom
5th Jan 2017, 2:29 AM
Hello World!!!!
Hello World!!!! - avatar