using os.chmod in windows

Locke charter-news at portzer0.virtualave.net
Thu Jun 20 00:58:33 CEST 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?

Thanks.




More information about the Python-list mailing list