I need help creating a Python File named main.py

Hello,
I need help creating a Python File called main.py.
When I create it I get a text file and not a python file.
How to solve this problem ?

1

Please check file type settings and make sure main.py is not under text file type or "auto-detect file type"

0

How to go to modify this parameter ?

0

Make sure that you have *.py under Python file type

And that you don't have main.py under Text file type

Also check that auto-detect file type is empty

 

If you have main.py anywhere in there, remove it.

1

请先登录再写评论。