Mercurial > cpython-lru_cache-weakref
diff Mac/Tools/IDE/PyConsole.py @ 19009:1bc67cf57d0a legacy-trunk
Show the MacPython IDE version in the interactive banner.
| author | Just van Rossum <just@letterror.com> |
|---|---|
| date | Mon, 06 Aug 2001 11:12:18 +0000 |
| parents | c5ac6f055c62 |
| children | 42b2f1936254 |
line wrap: on
line diff
--- a/Mac/Tools/IDE/PyConsole.py Mon Aug 06 10:08:56 2001 +0000 +++ b/Mac/Tools/IDE/PyConsole.py Mon Aug 06 11:12:18 2001 +0000 @@ -47,8 +47,11 @@ 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()
