Add console

* Use code.InteractiveConsole
* Update util.py_version to use sys.version_info