Yes, if you are normal Windows shared files, you should be using normal file
access functions. But your file name is incorrectly formatted. The name of
the remote computer must have TWO leading backslashes, which is Windows' cue
that you want a remote file.
Python will convert forward slashes ("/"
It would be much easier for us to help if we could see your code, and the error
you receive when you try to run it.
From: [email protected]
[mailto:[email protected]] On Behalf Of
ve
> 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
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.