Sublime Text was working fine until it suddenly refused to save file as .py.
When I create new empty file, it does not allow for coding ( no colors).
Even when I use the save as option and select the right type it saves the file as file and I can’t run it.
Sublime text will not save python files
gastonmcote
#1
0 Likes
bschaaf
#2
New empty files are always considered plain text, you need to set the syntax to python. You can do this through the bottom right of the window, through the menu (View > Syntax > Python) or the command palette.
When saving a file you need to add the .py extension to the filename.
0 Likes