Home >Development Tools >notepad >Why do python files saved by notepad++ not have a .py suffix?
Because the files saved by notepad are file types, you need to add the suffix yourself. (Recommended learning: Using notepad)
If you want to save it as a .py file by default, you need to set it up.
Because notepad automatically saves as a txt file by default, if you want notepad to save as a java file, you need to set it up. (Recommended learning: notepad )
Open notepad, click [Settings] - [Preferences] in the menu bar;
#If you want to automatically save a java file, set the [Default Language] to python in [New].
[Default directory] should look like this. If you check [EnableUse new style dialog box], then the default saved format will not be in java format.
The above is the detailed content of Why do python files saved by notepad++ not have a .py suffix?. For more information, please follow other related articles on the PHP Chinese website!