Python Objects as booleans, strings and numbers – slashprog.com