Use forward slashes to specify the UNC Path:
open('//HOST/share/path/to/file')
(if your Python client code is also running under Windows)
More Related Contents:
- Getting MAC Address
- ‘pip’ is not recognized as an internal or external command
- Request UAC elevation from within a Python script?
- pip how to remove incorrectly installed package with a leading dash: “-pkgname”
- “ImportError: No module named site” on Windows
- Running windows shell commands with python
- Python os.path.join on Windows
- Connecting to Microsoft SQL server using Python
- Pip – Fatal error in launcher: Unable to create process using ‘”‘
- How can I check if an ip is in a network in Python?
- Packaging a Python script on Linux into a Windows executable
- AttributeError: module ‘cv2.cv2’ has no attribute ‘createLBPHFaceRecognizer’
- Python socket receive – incoming packets always have a different size
- Open explorer on a file
- Detect 64bit OS (windows) in Python
- How to display utf-8 in windows console
- rpy2 install on windows 7
- GetWindowRect too small on Windows 7
- Can Python select what network adapter when opening a socket?
- UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0x96 in position 35: invalid start byte
- Add advanced features to a tkinter Text widget
- Set up Python simpleHTTPserver on Windows [duplicate]
- Drag and drop onto Python script in Windows Explorer
- Having trouble installing pycurl on windows
- Python subprocess.Popen as different user on Windows
- Error: No module named ‘fcntl’
- Add “django-admin.py” path to command line on Windows 7
- multiprocessing: How can I ʀᴇʟɪᴀʙʟʏ redirect stdout from a child process?
- Detecting computer/program shutdown in Python?
- Python file.write creating extra carriage return