How to convert a string like '777' to an octal integer like 0777?
KB
kbchung at hongik.ac.kr
Sun Jul 31 03:24:08 EDT 2005
Thanks, John.
But my point is how to keep the leading zero in 0777,
in order to be used in os.chmod('myfile', 0777)?
More information about the Python-list
mailing list