You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let say I need create file 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
I can do it in Explorer on Win8.1 no problem — the file is editable, renamable, and removable.
In Python, however, it is not possible (it throws all kinds of errors, Error 3, Windows Error, hard to debug).
Lazy Python devs advise to prefix path with \\\\?\\ (which is make sense, ofc.), and it works… but the file cannot be removed or renamed… trying to open context menu for this file in Explorer crashes Explorer (no kidding).
Both py2 and py3.
I guess we will need to use winapi, or maybe set some kind of attribute or something (I’ll investigate it after #91 )
The text was updated successfully, but these errors were encountered:
Python devs claim it is madness http://bugs.python.org/issue542314#msg55923
But actually they just lazy.
Let say I need create file
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
I can do it in Explorer on Win8.1 no problem — the file is editable, renamable, and removable.
In Python, however, it is not possible (it throws all kinds of errors,
Error 3
,Windows Error
, hard to debug).Lazy Python devs advise to prefix path with
\\\\?\\
(which is make sense, ofc.), and it works… but the file cannot be removed or renamed… trying to open context menu for this file in Explorer crashes Explorer (no kidding).Both py2 and py3.
I guess we will need to use winapi, or maybe set some kind of attribute or something (I’ll investigate it after #91 )
The text was updated successfully, but these errors were encountered: