iterating initalizations
Rhodri James
rhodri at wildebst.demon.co.uk
Tue Dec 23 00:48:37 EST 2008
On Tue, 23 Dec 2008 03:52:35 -0000, Aaron Stepp <stepp.aaron at gmail.com>
wrote:
> Simply put, I just need enough arrays to hold a list of
> pitches/rhythms. Then I'll have each list member returned to an
> instrument defined in another module.
One "array" can hold a list of pitches/rhythms. I'm still not terribly
clear as to why you need so many. Is each list intended for a different
instrument, so you're more looking at:
violin_1 = [ ...stuff... ]
violin_2 = [ ...other stuff...]
viola = [ ...really sweet stuff... ]
cello = [ ...really boring stuff... ]
--
Rhodri James *-* Wildebeeste Herder to the Masses
More information about the Python-list
mailing list