Message226444
> "//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' |
|
| Date |
User |
Action |
Args |
| 2014-09-05 19:09:11 | eryksun | set | recipients:
+ eryksun, pitrou, serhiy.storchaka, steve.dower, akima |
| 2014-09-05 19:09:11 | eryksun | set | messageid: <[email protected]> |
| 2014-09-05 19:09:11 | eryksun | link | issue22302 messages |
| 2014-09-05 19:09:11 | eryksun | create | |
|