How to make syntax highlighting in tkinter
📁 вопрос
I suspect this question is very difficult (or maybe impossible). But
I would like to know if it's possible to make syntax highlighting in a text widget?
Fixed
Actually, the __init__.py file is not intended for storing the implementation of package-wide functions. It is recommended to put them in other files.
Here is what is said in :
<...> In the simplest case, __init__.py can just be an empty file, but it can also execute initialization code for the package or set the
__all__variable, described later.
Quote from :
<...> special behavior for the __init__.py file, which is used to gather all package-wide definitions.
<...>
Leaving an __init__.py file empty is considered normal and even a good practice, if the package’s modules and sub-packages do not need
Log in to leave an answer