python - the hard way