OCT

s = OCT (x)

Returns the octal value of x as string.

Example:

print hex(255)      ' output: FF
print bin(8)        ' output: 1000
print oct(16)       ' output: 20