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 )
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 )