Your goal is to turn this text editor into a Python code editor. Your editor should allow the opening and saving of the .py file extension.
If the file has a .py extension, your editor should implement syntax highlighting and tab indenting.
While this can be easily done with external libraries, you should try to implement these features on your own using built-in Tkinter options that we have seen so far. For hints you can look at the source code of Python's built-in editor IDLE, which is written in Tkinter.