<human>:  express binary literals
<bot>: Here is some code to convert binary string '010101' to integer

int('010101', 2)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.