Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #11149

Re: Directions on accessing shared folder in windows network

From Christian Heimes <lists@cheimes.de>
Subject Re: Directions on accessing shared folder in windows network
Date 2011-08-10 22:43 +0200
References <CACo0wzY3xek0ndJCrfUnxHM1LaQAoK1w+DcMifkbSxF=13yvwQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2125.1313008998.1164.python-list@python.org> (permalink)

Show all headers | View raw


Am 10.08.2011 21:52, schrieb Ameet Nanda:
> Hi,
> 
> Can anyone point me to a way to access windows shared folders from the
> network using a python script. I tried accessing using open, which is
> mentioned to work perfectly on the web, but it gives me following errors

The open() function wraps the fopen() function, which doesn't support
UNC, just local paths. You have to mount the network share first (assign
a drive letter).

Christian

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Directions on accessing shared folder in windows network Christian Heimes <lists@cheimes.de> - 2011-08-10 22:43 +0200

csiph-web