Intermediate Python user needed help
rusi
rustompmody at gmail.com
Mon Aug 6 23:52:42 EDT 2012
On Aug 7, 8:06 am, Jugurtha Hadjar <jugurtha.had... at gmail.com> wrote:
> On 08/05/2012 09:52 PM, John Mordecai Dildy wrote:
>
> > NameError: name 'start' is not defined
>
> > anyone know how to make start defined
>
> Maybe rename it "defined_start" ;)
>
> I wonder how someone can get to the point of writing more than 76 lines
> of code while not only still making this kind of errors, but not even
> knowing what these errors mean and how to correct them. It's impossible.
> You can't write programs that are more than 10 lines without having
> encountered these errors and learnt how to deal with them.
>
> Unless you're reading exercises from a book, and feeling that you're
> "intermediate", you started reading from chapter 28 in a 29 chapters book.
>
> --
> ~Jugurtha Hadjar,
If you've ever taught programming in a formal teaching setup, you
would not be surprised when students submit C 'projects' that wont
even compile (leave aside segfault).
On a more personal note, the first program I wrote was in Cobol. I
got only 350 errors before the compiler copped out. It was a bit
traumatic. Later on I found I forgot to write
PROCEDURE DIVISION.
So its good to remember how spoilt we are on python that we can test
out 10 lines at a time.
More information about the Python-list
mailing list