I would like to access Windows share (ex. \\backupserver\\backups) from Python script. Share is protected by user name and password. How to open this share using user name a
Why don't you mount the related share using the
NET USE
command?
Calling NET USE from through the subprocess module is straight forward.