Re: iterating initalizations

2008-12-23 Thread Aaron Stepp
arguments are being passed as zeros! I assume this has to do with WHEN I'm referencing self.__A and self.__B? AS On Dec 23, 2008, at 10:20 AM, Steve Holden wrote: D'Arcy J.M. Cain wrote: On Mon, 22 Dec 2008 22:32:17 -0500 Aaron Stepp wrote: Instead of writing a long list of initi

Re: iterating initalizations

2008-12-22 Thread Aaron Stepp
On Dec 22, 2008, at 10:43 PM, Chris Rebert wrote: On Mon, Dec 22, 2008 at 7:32 PM, Aaron Stepp wrote: Thanks for the help so far, I think I'm starting to get a hang of the syntax. I think I need to state my goal more clearly. Instead of writing a long list of initializations li

Re: iterating initalizations

2008-12-22 Thread Aaron Stepp
On Dec 22, 2008, at 10:15 PM, r wrote: I can't check you code because i don't have these modules but here is the code with proper indention import random from rtcmix import * from chimes_source import * from rhythmblock import * from pitchblock import * indexrand = random.Random() indexrand.se

iterating initalizations

2008-12-22 Thread Aaron Stepp
index = index.append(rhythm.rhythmTwist(b, c)) This doesn't do what I expect (probably because I don't have a clue what I'm doing!): initalizing, then filling new arrays, each new one called A[ ], then B[ ], etc. This seems very un-pythonic, and I'm sure there is a right