Re: hidden attribute on Windows files

2005-03-07 Thread John Machin
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

Re: hidden attribute on Windows files

2005-03-07 Thread "Martin v. Löwis"
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

Re: hidden attribute on Windows files

2005-03-07 Thread Roel Schroeven
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

hidden attribute on Windows files

2005-03-07 Thread rbt
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