eryksun added the comment: > "//server" is just the same as "/server" or "///server".
Repeated slashes aren't collapsed at the start of a Windows path. Here's what I get in Windows 7: >>> os.listdir('/server') [] >>> os.listdir('//server') Traceback (most recent call last): File "<stdin>", line 1, in <module> FileNotFoundError: [WinError 53] The network path was not found: '//server' >>> os.listdir('///server') Traceback (most recent call last): File "<stdin>", line 1, in <module> FileNotFoundError: [WinError 161] The specified path is invalid: '///server' ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22302> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com