Re: when is it apt to use classes in preference to only arrays and lists
Can you tell us a bit more about it?
There are several ways to do this most probably - including lists and
dictionaries.
Like Bryan says, it all depends.
Regards,
Arjen
.
Relevant Pages
- Removing a list of data from a larger one
... I have the two lists and want to remove ... greatly appreciated and I'm sorry if it seems vague but that's about the best ... Bryan. ... Prev by Date: ... (microsoft.public.excel.misc) - Re: comments on my design of a new language?
... > exist, plus strings and the function type, and that is it. ... indexed by a string or a regular expression, ... > dictionaries, that terminate with literals, or (possibly ... and lists. ... (comp.lang.misc) - Re: comments on my design of a new language?
... > indexed by a string or a regular expression, ... Trees are essentially nested dictionaries, ... I was originally going to treat scalars and unit lists equivalently, ... > dictionaries being indexed by strings or by regular expressions. ... (comp.lang.misc) - Re: objects as mutable dictionary keys
... for lists, and it isn't defined by default for user ... >> dictionaries recently, and the mainstream opinion was that dictionary ... >> keys must not be mutable, so lists are not allowed as dictionary keys. ... > - Dictionary lookup with list literals would be impossible. ... (comp.lang.python) - Re: Pre-PEP: Dictionary accumulator methods
... ## Using only built-in function as arguments makes it ... > * The getidiom requires two dictionary lookups of the same key. ... > dictionaries). ... most uses I've seen are with lists. ... (comp.lang.python) |
|