more python hackery