Re: Help for a complete newbie

2006-04-16 Thread John Machin
On 17/04/2006 12:22 AM, fatal.serpent top-posted: > There was an extra space before ready. Space? Strange. Both Google groups & my newsreader display it as 8 spaces. I could have sworn it was a tab. -- http://mail.python.org/mailman/listinfo/python-list

Re: Help for a complete newbie

2006-04-16 Thread fatal.serpent
There was an extra space before ready. It works otherwise. Use the code below or just remove the space. Heres the fixed code: ready = raw_input("Ready to proceed ? TYPE (y)es or (n)o: ") if ready == "y": print "You are Ready" else: print "Try again" Ralph H. Stoos Jr. wrote: > All

Re: Help for a complete newbie

2006-04-15 Thread Alex Martelli
Steve Bergman <[EMAIL PROTECTED]> wrote: ... > Both are a bit out of date. The current python version is 2.4. > Learning Python covers 2.3. Nutshell covers up to 2.2. > > One of these days Alex will come out with a 2nd Edition of Nutshell and > there will be much rejoicing. ;-) If everything

Re: Help for a complete newbie

2006-04-15 Thread gene tani
Ralph H. Stoos Jr. wrote: > Tim, > > After a little more research, I did find that out. It is funny, but in > the tutorial "Non-Programmers Tutorial For Python", it makes no mention > of the indentation issue, at least in the beginning portions which I had > read. > > This is an age old problem o

Re: Help for a complete newbie

2006-04-15 Thread Scott David Daniels
Steve Bergman wrote: > One of these days Alex will come out with a 2nd Edition of Nutshell and > there will be much rejoicing. ;-) > Rumor has it he is trying to hit print for OSCON (so soon, soon). --Scott David Daniels [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Help for a complete newbie

2006-04-15 Thread Steve Bergman
You can also access this group through Google Groups: http://groups.google.com/group/comp.lang.python which has nice search features. I found O'Reilly's "Learning Python" to be helpful in combination with O'Reilly's "Python in a Nutshell". Learning python is a nice introduction to Python but is

Re: Help for a complete newbie

2006-04-14 Thread Ralph H. Stoos Jr.
Tim, After a little more research, I did find that out. It is funny, but in the tutorial "Non-Programmers Tutorial For Python", it makes no mention of the indentation issue, at least in the beginning portions which I had read. This is an age old problem of learning. Once you know something,

Re: Help for a complete newbie

2006-04-14 Thread Tim Roberts
"Ralph H. Stoos Jr." <[EMAIL PROTECTED]> wrote: > >I am reading a Python tutorial for complete non-programmers. > >The code below is so simple as to be insulting but the assignment of the >"ready" variable gives a syntax error. > >The code reads letter-for-letter like the tutorial states. Letter

Re: Help for a complete newbie

2006-04-14 Thread Steve Bergman
The indentation is wrong. Python cares about indentation. print " " print "This \"autotp\" program will create raw bitmap test pattern images." print " " print "Please read the information below thoroughly:" print " " print "1. Graphic files MUST be TIFF images." print "2. Images MUST have been

Re: Help for a complete newbie

2006-04-14 Thread John Machin
On 15/04/2006 12:04 PM, Ralph H. Stoos Jr. wrote: > All, > > I am reading a Python tutorial for complete non-programmers. Would you mind providing a URL for the tutorial? It's vaguely possible that we may be able to recommend a slightly better tutorial :-) > > The code below is so simple as to

Help for a complete newbie

2006-04-14 Thread Ralph H. Stoos Jr.
All, I am reading a Python tutorial for complete non-programmers. The code below is so simple as to be insulting but the assignment of the "ready" variable gives a syntax error. The code reads letter-for-letter like the tutorial states. Here is a dump. Can anyone tell me what is wrong? *