Octal Constants
suggest changeIn Python 2, an octal literal could be defined as
>>> 0755 # only Python 2
To ensure cross-compatibility, use
0o755 # both Python 2 and Python 3
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents