using os.chmod in windows

Locke charter-news at
Wed Jun 19 18:58:33 EDT 2002

I never really learned the number codes for file permissions in UNIX. I 
always just did "chmod +r" because it is much easier to remember. I need 
to change a file to be 'hidden' in windows. In UNIX, this is done by 
renaming it with a dot in front of the name. But the python os.chmod 
command says you need to specify the number as the argument. As far as I 
know, there is no number for 'hidden' since it is windows only. So how 
do I do this?


More information about the Python-list mailing list