[Tutor] Extension

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Sun, 2 Jun 2002 16:53:46 -0700 (PDT)


On Sun, 2 Jun 2002, Harold Merrill wrote:

> Can you write Python in WordPad?

Hi Harold,

It would be technically possible, but not too fun, since WordPad will try
to treat the Python source as if it were a document for humans --- it
would get in the way a lot.  Notepad would be a better program to edit
Python, since it wouldn't interfere as much, but there are actually better
text editors you can use.

If you install Python, it automatically comes with a text editor called
IDLE, and IDLE's pretty good.  I have a small tutorial on how to start
playing with it here:

    http://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro



>  What is the extension (ex. HTML is *.htm or *.html)?

Python programs often have the extension '.py'.


If you have more questions, please feel free to ask.  Hope this helps!