dynamically naming fields?

Darren Dale dd55 at cornell.edu
Wed Apr 28 10:43:38 EDT 2004


I am transitioning from Matlab and am not very literate in Python 
terminology....

I want to load data from a file, and I want to use the header to name my 
fields... for example, I have a file containing "time counter" in the 
header, how do I create Sample.time and Sample.counter? In Matlab it 
would be Sample.(string)

thanks,
Darren



More information about the Python-list mailing list