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

Use os.system to invoke that command, make sure you get the quoting
right in case pathname might contain spaces. attrib.exe is located
in the system folder (windows\system32), so it should be on the PATH.

HTH,
Martin
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to