listing network shares with python

后端 未结 5 1230
刺人心
刺人心 2020-12-11 17:40

if I explicitly attempt to list the contents of a shared directory on a remote host using python on a windows machine, the operation succeeds, for example, the following sni

5条回答
  •  悲&欢浪女
    2020-12-11 18:32

    I'm sure the OP has forgotten about this question by now, but here's (maybe) an explanation:

    http://www.python.org/doc/faq/windows/#why-does-os-path-isdir-fail-on-nt-shared-directories

    In case anybody else happens along this problem, like I did.

提交回复
热议问题