Re: [python-win32] Help required in opening a remote file in python. [SEC=PERSONAL]

2009-02-22 Thread Andrew MacIntyre
> 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 so

Re: [python-win32] Help required in opening a remote file in python.

2009-02-22 Thread Gerdus van Zyl
Try using the normal file access functions, eg: open("file","r"), etc. ~G On Mon, Feb 23, 2009 at 6:14 AM, venu madhav wrote: > 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.

[python-win32] Help required in opening a remote file in python.

2009-02-22 Thread venu madhav
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