python: add repl and refactor some more
python: make whole numbers print without .0