timkofu timkofu - 1 year ago 214
Python Question

PyCharm not recognizing Python files

My PyCharm is no longer recognizing python files (attached screenshot) The interpreter path is correctly set.

Screen shot

Answer Source

Please check Settings | File Types, ensure that file name or extension is not listed in Text files.

To fix the problem remove it from the Text files and double check that .py extension is associated with Python files.