pretty basic instantiation question
i'm very new to python, but i have a pretty basic question: let's say i have a class, and i need to create a different number of instances (changes every time - and i can't know the number in advance) in a loop. a function receives the number of instances that are needed, and creates them like, a=Myclass() b=Myclass() . . . . . . what's the easiest way to go about this? thanks, A -- http://mail.python.org/mailman/listinfo/python-list
sound processing modules in python - anyone?
Hi everyone, I'm looking for a module for sound processing (manipulating sound objets, filters, ffts etc.). I tried Snack, but when i downloaded the package that was supposed to be for python, there was only the Tk/Tcl stuff (where's the .py ?). could anyone help me with that (or with any other sound module for python)? thanks in advance, g -- http://mail.python.org/mailman/listinfo/python-list
you can erase me last message - a mistake....
you can erase the message about python sound modules, my mistake. thanks, g -- http://mail.python.org/mailman/listinfo/python-list
class question
Hello there, i am pretty new to object-oriented programming and i have a question: let's say i have a simple class such as: class father: age=... name= def abcd. class son(father): age= name= def efgh: or any other heirarchic structure of class and subclasses. i would like to list or print the data content of a given instance of the subclass, all the way up (e.g. if sam is jack's son, so i would like to get their names and ages and use the class as a data structure for that matter). how do i do this? thanks, t -- http://mail.python.org/mailman/listinfo/python-list
best package for a physical simulation?
Hello everyone, i would like to use python to perform some simulation involving collisions of colloidal particles. which is the best package/engine to do that in python? thanks, T -- http://mail.python.org/mailman/listinfo/python-list
