0o1231
0o1231 is an octal numeric literal used in several programming languages to denote an integer in base-8. The prefix 0o signals that the digits that follow are octal digits (0 through 7). In decimal, 0o1231 equals 665.
In Python, the 0o prefix was introduced in Python 3 to distinguish octal literals from decimal numbers,
Numerical conversion: 0o1231 equals 1×8^3 + 2×8^2 + 3×8^1 + 1×8^0 = 512 + 128 + 24 + 1 = 665. In practice, octal
Caveats: Digits must be in the range 0–7. Including digits outside that range (such as 8 or