Re: naming objects from string
- From: "manstey" <manstey@xxxxxxxxxx>
- Date: 20 Sep 2006 22:14:49 -0700
Hi,
thanks for the suggestions. this is my problem:
I have a metadata file that another user defines, and I don't know
their structure in advance. They might have 300+ structures. the
metadata defines the name and the tuple-like structure when read by
python.
my program reads in the metadata file and then generates python tuples
corresponding to their structures.
so they might provide a list of names, like 'bob','john','pete', with 3
structures per name, such as 'apple','orange','red' and I need 9 tuples
in my code to store their data:
bob_apple=()
bob_orange=()
...
pete_red=()
I then populate the 9 tuples with data they provide in a separate file,
and the filled tuples are then validated against the metadata to make
sure they are isomorphic.
Is this clear?
thanks
.
- Follow-Ups:
- Re: naming objects from string
- From: Fredrik Lundh
- Re: naming objects from string
- From: Wildemar Wildenburger
- 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
- Re: naming objects from string
- From: Wildemar Wildenburger
- naming objects from string
- Prev by Date: Re: view page source or save after load
- Next by Date: Re: naming objects from string
- Previous by thread: Re: naming objects from string
- Next by thread: Re: naming objects from string
- Index(es):