|
|
|
@ -16,6 +16,7 @@ import io |
|
|
|
|
|
|
|
import linecache |
|
|
|
from code import InteractiveInterpreter |
|
|
|
from platform import python_version |
|
|
|
|
|
|
|
try: |
|
|
|
from tkinter import * |
|
|
|
@ -799,7 +800,7 @@ class ModifiedInterpreter(InteractiveInterpreter): |
|
|
|
|
|
|
|
class PyShell(OutputWindow): |
|
|
|
|
|
|
|
shell_title = "Python Shell" |
|
|
|
shell_title = "Python " + python_version() + " Shell" |
|
|
|
|
|
|
|
# Override classes |
|
|
|
ColorDelegator = ModifiedColorDelegator |
|
|
|
|