1
我需要从Python脚本打开本地网络上的文件。Python - 访问受保护的网络资源
在基本情况下是很简单的:
fh = open('\\servername\path\resource.txt', 'r')
...
的问题是,访问该网络资源的保护。我试过类似的东西:
fh = open('\\servername\path\[email protected]:pass', 'r')
但它不起作用。
有什么想法?
好的,非常感谢你! –