My goal is to produce lists of 256 each size from a series of 1806, each list has newmodule.xlist ##### has been referred to as How do I loop through variables in newmodule.py to create super matrix?
The variable can be created like this:
'xlist % 05d '% i You can catch the variable from the module like this: To create a "2dim" list, make a list of the list ie:
getattr (newmodule, 'xlist% 05d'% i)
You probably changed it to a numpy 2dim array: mat = numpy.array (mat) or numpy Matrix: mat = oval. Mat (mat)
No comments:
Post a Comment