Learning python the hard way updated