File reading across network (windows)

Diez B. Roggisch deets at nospam.web.de
Tue Aug 12 05:56:01 EDT 2008


>> You need to create network shares in windows first. Once these are
>> established, *all* programs using file-IO - including python - can
>> access files.
>> 
> It isn't absolutely essential to create a network share first: most
> windows apis, including those used by Python, will be very happy with a
> UNC path:

<snip/>

You still need to create a share on the serving machine. The UNC-path is
just for accessing it without *mounting* it on a local machine under some
drive-letter. I should have worded clearer what I meant, though.

You are of course right that actually mounting the drives makes it much
easier to deal with them regarding authentication.

Diez



More information about the Python-list mailing list