Stupid question: saving from notepad with extension not .txt

  • Thread starter Thread starter nrqed
  • Start date Start date
  • Tags Tags
    Extension Stupid
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 6K views
Messages
3,762
Reaction score
297
I think the heading pretty much says it all!
I want to write a python program and I am typing it in Notepad. when I save it, it adds .txt to my filename "myprogram.py".
How do I avoid that? (I know, it's a stupid question!)

Pat
 
Physics news on Phys.org
dduardo said:
The save dialog box should have a dropdown menu which allows you to save the file as .txt or * (all files). If you pick the * option then you can have it save as .py.

I'm not totally sure, but it is worth a try.

I could have sworn I *had* tried that and it did not work! But I tried it again (gicing a new filename) and it did work! Doh!

thanks! Your post at least prompted me to try again!

:-)


Pat