02 April 2023

Using Python, how can I access a shared folder on windows network?

https://stackoverflow.com/questions/7169845/using-python-how-can-i-access-a-shared-folder-on-windows-network


Use forward slashes to specify the UNC Path:

open('//HOST/share/path/to/file')

(if your Python client code is also running under Windows)

No comments:

Post a Comment