[BangPypers] HELP ME CHECK
delegbede at dudupay.com
Fri May 28 09:12:17 CEST 2010
Oh My, thanks for the correction.
I'll look up the codes again and revert.
On 5/27/10, Puneeth Chaganti <punchagan at gmail.com> wrote:
> On Thu, May 27, 2010 at 8:52 PM, Dipo Elegbede <delegbede at dudupay.com>
>> Hi all,
>> I was reading through Alan Gauld's website:
>> Under, Handling files, I copied the following codes and tried to run
>> it but it didn't.
>> I have written to him though but would like to get someone to look at
>> it for me again.
>> I have pasted the code in the pastebin and the link is as follows:
> This is how I learnt to use the interpreter and the Error messages it
> shows, to debug my code.
> # Run your script.
> # The interpreter barks, saying -
> NameError: global name 'readBook' is not defined
> # "But, I did define readBook, didn't I?", you wonder. Go back and
> confirm. You find a readBook. You are confused.
> # You run the script again, but the interpreter barks again! You are
> even more confused.
> # You re-read the error message. NameError: global name 'readBook' is
> not defined. You look back at the code more carefully, to find that
> indeed 'readBook' has not been defined. It was 'readbook' that was
> readbook is not the same as readBook. Python is case sensitive.
>> Please help.
>> Elegbede Muhammed Oladipupo
>> Mobile Banking Solutions | Transaction Processing | Enterprise
>> Application Development
>> BangPypers mailing list
>> BangPypers at python.org
> BangPypers mailing list
> BangPypers at python.org
Elegbede Muhammed Oladipupo
Mobile Banking Solutions | Transaction Processing | Enterprise
More information about the BangPypers