How to read a file from another server? Newbie

Edward Diener eldiener at earthlink.net
Mon Apr 26 18:58:13 EDT 2004


Sean Berry wrote:
> I am trying to read in a file from another server.
>
> If I try
> x = open("servername:/path/to/file", "r")

x = open("servername://path/to/file", "r")

>
> I get the following error:
> IOError: [Errno 2] No such file or directory:
> 'servername:/path/to/file'





More information about the Python-list mailing list