Commit e6e745fc authored by Just van Rossum's avatar Just van Rossum

Show the MacPython IDE version in the interactive banner.

parent 1fbad002
......@@ -47,8 +47,11 @@ class ConsoleTextWidget(W.EditText):
self._namespace = dict
def open(self):
import __main__
W.EditText.open(self)
self.write('Python ' + sys.version + '\nType "copyright", "credits" or "license" for more information.\n')
self.write('Python %s\n' % sys.version)
self.write('Type "copyright", "credits" or "license" for more information.\n')
self.write('MacPython IDE %s\n' % __main__.__version__)
self.write(sys.ps1)
self.flush()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment