[Tutor] Trouble getting started (fwd)
Danny Yoo
dyoo@hkn.eecs.berkeley.edu
Mon, 12 Aug 2002 07:55:25 -0700 (PDT)
Hi Budman,
Let me forward this to the rest of the Tutor list; if any one of us are
busy, the others still will have a chance to look at this.
My best guess is that your program has the three lines:
###
Python 2.2.1 (#1, Jul 29 2002, 23:15:49)
[GCC 2.95.4 20011002 (Debian prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
###
in the beginning of your program (or something similar to this). If so,
you can safely take them out, as this is just something that Python prints
whenever you start it up: it's not actually supposed to be incorporated in
your own programs.
Good luck to you!
---------- Forwarded message ----------
Date: Mon, 12 Aug 2002 08:25:33 EDT
From: Budman4106@aol.com
To: dyoo@hkn.eecs.berkeley.edu
Subject: Re: [Tutor] Trouble getting started
Thank you for your response. I recieved alot of other help from others as
well. One guy said that I had put a 1 where there should have been an i so I
tried replacing the 1's with i's and it still gives me an error. I dont know
what I'm doing but I'm sure having fun trying to figure it out. Thank you
for your help.............Kevin
Python 2.2 (#28, Dec 21 2001, 12:21:22) [MSC 32 bit (Intel)] on win32
>
> Type "copyright", "credits" or "license" for more information.
> IDLE 0.8 -- press F1 for help
> >>> print "Here are the ten numbers from 0 to 9<---I know what I did wrong
> here :)
> SyntaxError: invalid token
> >>> print "Here are the numbers from 0 to 9"
> Here are the numbers from 0 to 9
> >>> for i in range(10):
> print i,
>
> File "C:/Python22/Numbers", line 1
> Python 2.2 (#28, Dec 21 2001, 12:21:22) [MSC 32 bit (Intel)] on win32
> ^
> SyntaxError: invalid syntax
>
>