Bryan
- Original Message
From: Wesley Brooks <[EMAIL PROTECTED]>
To: Bryan Magalski <[EMAIL PROTECTED]>
Sent: Thursday, November 15, 2007 10:12:26 AM
Subject: Re: [Tutor] Interactive Menu Woes
No worries, I'm still learning myself - be it four years down the
line. Don't
Rol <[EMAIL PROTECTED]>
To: Bryan Magalski <[EMAIL PROTECTED]>
Cc: tutor@python.org
Sent: Thursday, November 15, 2007 11:37:43 AM
Subject: Re: [Tutor] Interactive Menu Woes
> Thank you for your suggestion. I did not create the original
> script, so it will stay as is and my add
> Thank you for your suggestion. I did not create the original
> script, so it will stay as is and my addition for the menu has been
> adjusted.
>
> Now that I can make a clear distinction of what I am returning, I
> am getting a new error that leads me that I am trying to call a
> functio
w how to fix it or "call" it
properly.
Again, thanks in advance.
- Original Message
From: Evert Rol <[EMAIL PROTECTED]>
To: Bryan Magalski <[EMAIL PROTECTED]>
Cc: tutor@python.org
Sent: Wednesday, November 14, 2007 1:28:45 PM
Subject: Re: [Tutor] Interactive Menu
> I am trying to build a menu for the following script to make it
> more "user friendly". Nothing fancy, just a simple add data and
> look up the entered results.
>
> The problem is that when I run my modified version with this
> snippet (please see attachment for original and my modified ve
In the middle of your addName function you have defined another
function that requires 'self' and you've got a default argument
'get=1';
def numberType(self, get = 1):
You call this further down the function with the line;
self.type = numberType(self.get)
This should have been;
self.type = num
Greetings all!!
This is my first post and I am going to probably be vague at first, but, I will
try my best to be specific. I am a very GREEN scripter/programmer, so please
be as descriptive as possible. Ok, enough excuses, on with my question!
Here is my issue:
I am trying to build a menu f