Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fbad00 commit e6e745fCopy full SHA for e6e745f
1 file changed
Mac/Tools/IDE/PyConsole.py
@@ -47,8 +47,11 @@ def set_namespace(self, dict):
47
self._namespace = dict
48
49
def open(self):
50
+ import __main__
51
W.EditText.open(self)
- self.write('Python ' + sys.version + '\nType "copyright", "credits" or "license" for more information.\n')
52
+ self.write('Python %s\n' % sys.version)
53
+ self.write('Type "copyright", "credits" or "license" for more information.\n')
54
+ self.write('MacPython IDE %s\n' % __main__.__version__)
55
self.write(sys.ps1)
56
self.flush()
57
0 commit comments