weird problem with os.chmod

"Martin v. Löwis" martin at
Sat Nov 12 02:15:29 CET 2005

James Colannino wrote:
> Ok, so further research revealed that 0600 is actually the octal 
> representation for 384 (which makes sense.)  So then, I guess my 
> question would have to be, is there a way for me to make Python aware 
> that the 0600 I'm passing to int() is octal and not decimal so that I 
> will get 384 instead of 600?

Try this:


More information about the Python-list mailing list