Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Stupid question: saving from notepad with extension not .txt

  1. Feb 21, 2006 #1

    nrqed

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    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
     
  2. jcsd
  3. Feb 21, 2006 #2

    dduardo

    User Avatar
    Staff Emeritus

    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.
     
  4. Feb 21, 2006 #3

    nrqed

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    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
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Stupid question: saving from notepad with extension not .txt
Loading...