[Tutor] Re: Beginner ...
Lee Harr
missive at hotmail.com
Sat Dec 20 19:13:01 EST 2003
>I was told to use a text editor such as notepad to create a program for =
>use with Python. I write the little program=20
>i.e
>>>>the_world_is_flat =3D 1
>>>>if the_world_is_flat:
>... print "Be careful not to fall off!"
>...=20
>Be careful not to fall off!
Hard to tell here what exactly you have saved to test.py
Be sure not to include the >>> characters in your script. Your
file should just have:
the_world_is_flat = 1
if the_world_is_flat:
print "Be careful not to fall off!"
_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus
More information about the Tutor
mailing list