How to open a remote file using python.

venutaurus539 at gmail.com venutaurus539 at gmail.com
Sun Feb 22 23:13:23 EST 2009


Hello all,
           I am writing an application where I need to open a shared
file on a remote machine using python script. I tried using the
following function:

f = urllib.open("\\remote_machine\\folder1\\file1.doc")

         I also tried using

class urllib.FancyURLopener(...)

         but didn't work. Can some one help me in this regard.

Thank you in advance,
Venu



More information about the Python-list mailing list