Bob Rogers wrote:
> So you're saying you don't know the answer? The question wasn't
> "should I use setattr?"
If what you're doing is wrong and backwards then it doesn't matter what
the question is. Best practices are best practices for a reason.
There's no reason to use eval to do what you want
James Stroud wrote:
> Hello All,
>
> Because of my poorly designing a database, I have recently found it
necessary
> to explore the wonders of the Python pseudo-switch:
>
> do_case = { "A" : lambda x: x["bob"],
> "B" : lambda x: x["carol"],
> "C" : lambda x: "Ted",
>
In comp.lang.perl.misc Xah Lee <[EMAIL PROTECTED]> wrote:
> Let me expose one another fucking incompetent part of Python doc, in
> illustration of the Info Tech industry's masturbation and ignorant
> nature.
> Note the need to inject the high-brow jargon “greedy” here as a
> latch on sentence.
On 7 May 2005 15:05:20 -0700, "LDD" <[EMAIL PROTECTED]> wrote:
>Hi everyone,
>
>I am new to python and was very enthustic about its possibilities when
>I discover that python is really what it is : just a scripting
>language.
>
>What disappoints me is that pyton will happily accept and execute thi
101 - 104 of 104 matches
Mail list logo