A Python Turing machine