Re: naming objects from string
- From: Wildemar Wildenburger <wildemar@xxxxxxxxxxxx>
- Date: Thu, 21 Sep 2006 07:09:03 +0200
Damjan wrote:
try
sys.modules[__name__].__dict__[x] = a
@manstay: You see! Ugly, unreadable trickery!
Hands off this stuff, bad mojo!
You've been told three very different approaches now, which is a pretty good indicator that there is no obvious way to do it. Which means another angle to your problem might make it a lot easier.
(btw: Try 'import this' at the python prompt for some wise words.)
Please describe your problem and let us suggest that new angle.
wildemar
.
- Follow-Ups:
- Re: naming objects from string
- From: manstey
- Re: naming objects from string
- References:
- naming objects from string
- From: manstey
- Re: naming objects from string
- From: James Stroud
- Re: naming objects from string
- From: manstey
- Re: naming objects from string
- From: Damjan
- naming objects from string
- Prev by Date: Re: naming objects from string
- Next by Date: Re: view page source or save after load
- Previous by thread: Re: naming objects from string
- Next by thread: Re: naming objects from string
- Index(es):
Relevant Pages
|