[Tutor] about python
Sheila King
sheila@thinkspot.net
Wed, 12 Jun 2002 21:29:43 -0700
On Tue, 11 Jun 2002 21:32:19 -0400, john p kensin wrote:
> i like python, but i cant get it to work, i have tried the help
> files and stuff, but there is always an error, and when i write
> something in notepad, save it as .txt, i import it, it says i have
> to save, i do, then it says syntax error, or something else, im
> talking about the examples in the guide.
Don't save the files as .txt.
Save them as .py.
To do this in Notepad, when you click on the File Menu, choose "Save
As..." and when you go to enter the file name in the box for that,
type the file name in quotes like this:
"example.py"
Then Notepad will let you save with a file extension different from
txt.
Hopefully that will help?
Have you tried using IDLE?
--
Sheila King
http://www.thinkspot.net/sheila/
http://www.k12groups.org