K
KB
Hi,
This may be a rudimentary question:
How to convert a string like '777' to an octal integer like 0777,
so that it can be used in os.chmod('myfile',0777)?
I know the leading zero is important in os.chmod.
KB
This may be a rudimentary question:
How to convert a string like '777' to an octal integer like 0777,
so that it can be used in os.chmod('myfile',0777)?
I know the leading zero is important in os.chmod.
KB