Contents
from functools import partial basetwo = partial(int, base=2) basetwo('10010') # returns 18
CategoryRicottone