bin()

Format:
bin( int_expr)
Result:
Text
Description:
The input number is converted to a binary number.
e.g.:
SPECTRA> * = bin(6)
0b110