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

int('01010101111', 2)

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