If your
#python #pycharm #file_types #syntax_highlighting
pyCharm
does not recognize specific python files as a Python
file and does not provide syntax highlighting for you, you need to navigate to File > Settings > Editor > File Types > Text
and Under Registered Patterns, you can see the new myfilename.py
in the list. Remove it from the list with the - button and click OK at the end.#python #pycharm #file_types #syntax_highlighting