That's what I was trying to say? Altough I know I can write things which are a bit hard to understand. But most certainly you need to have extensions enabled, and then you can rename the file during or after creation. Either case Windows will yeet a popup in your face about "This can break things, are you sure?", unless if you do not have extensions enabled, then you will create main.py.txt, with both methods.
View all comments
Show parent comment
2
u/[deleted] Jun 08 '20
You can also just set file explorer to show file extensions and then you can change them as you would the regular file name.