rbt wrote:
> How do I enable the hidden attribute when creating files on Windows
> computers? I'd *really* prefer to do from the standard Python
installer
> (no win32 extensions). Any tips?
>
> Thanks
Breaking your problem down a bit:
1. How is that done from the command line in Windows?
2. How t
rbt wrote:
How do I enable the hidden attribute when creating files on Windows
computers? I'd *really* prefer to do from the standard Python installer
(no win32 extensions). Any tips?
With pure Python and just the standard installer, you need to invoke
attrib.exe, as
attrib.exe +H
Use os.system
rbt wrote:
> How do I enable the hidden attribute when creating files on Windows
> computers? I'd *really* prefer to do from the standard Python installer
> (no win32 extensions). Any tips?
You could do
os.system('attrib +h hidethis.txt')
but that only works if hidethis already exists.
--
"Cod
How do I enable the hidden attribute when creating files on Windows
computers? I'd *really* prefer to do from the standard Python installer
(no win32 extensions). Any tips?
Thanks
--
http://mail.python.org/mailman/listinfo/python-list