Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок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.
1 ответ
+ 1
https://docs.python.org/2/library/httplib.html
The code for it is near the bottom