A python iad terminal simulator