python hard way