Python's qw
Erik Max Francis
max at alcyone.com
Fri May 16 17:07:21 EDT 2003
A Puzzled User wrote:
> Erik, thanks for your post. The old fashion way, you mean
> just using
> a = ['sunflower', 'tulip', 'jasmine']
> ?
Yes.
> It is because I probably have a list of about 80
> items, and it is more editing work to add and
> maintain the list.
For long lists, something like:
a = [
'sunflower',
'tulip',
'jasmine',
...
]
might be in order.
--
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
__ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/ \ Love is the triumph of imagination over intelligence.
\__/ H.L. Mencken
More information about the Python-list
mailing list