* shawn bright <[EMAIL PROTECTED]> [061113 23:51]:
> hey thanks, did not think about the possible consequences of the use of a
> built in as a variable name.
Well, the consequences are minimal:
a) pylint complains by default about that.
b) if you paste code into your function, you might get probl
hey thanks, did not think about the possible consequences of the use of a built in as a variable name.-skOn 11/13/06, Andreas Kostyrka <
[EMAIL PROTECTED]> wrote:* shawn bright <
[EMAIL PROTECTED]> [061113 19:46]:> Hello there all.> i have a class that i need to load some class variables depending
* shawn bright <[EMAIL PROTECTED]> [061113 19:46]:
> Hello there all.
> i have a class that i need to load some class variables depending on what is
> passed to the class, it would either be set up using one variable or
> another. The values for the class variables would be loaded from a database.
Mike Hansen wrote:
>
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of shawn bright
>> Sent: Monday, November 13, 2006 11:45 AM
>> To: tutor-python
>> Subject: [Tutor] question about __init__ in a clas
thon> Subject: [Tutor] question about __init__ in a class
>> Hello there all.> i have a class that i need to load some class variables> depending on what is passed to the class, it would either be> set up using one variable or another. The values for the
> class variables would
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of shawn bright
> Sent: Monday, November 13, 2006 11:45 AM
> To: tutor-python
> Subject: [Tutor] question about __init__ in a class
>
> Hello there all.
> i have a class tha
Hello there all.i have a class that i need to load some class variables depending on what is passed to the class, it would either be set up using one variable or another. The values for the class variables would be loaded from a database. But how it is looked up depends on how its called. Like this