combinations of variable length nested lists
Mark Robinson
m.1.robinson at herts.ac.uk
Tue Aug 7 12:13:53 EDT 2001
ok, thats a bit more eligant (and efficient) than my attempt in my reply
to Hans :). You really think that can be written in "far fewer lines"?
thanks alot
blobby
I have no idea whether a list
> comprehension in place of the second (double)
> loop would be faster, because they have sometimes
> turned out to be slower in places where you'd
> think they'd be faster.)
What is a list comprehension, just out of interest :), I am always
looking to reduce my ignorance.
Cheers blobby
More information about the Python-list
mailing list