[SciPy-user] floating characters

Matthew Hellman mhellman at mitre.org
Tue Jul 6 13:16:26 CDT 2004

  I was wondering if anyone had a method for converting a stringType to
an assignableType using characters.  For instance, if I read in
characters and then wanted to assign mathematical equations to them, 'r'
would be converted to r.  Essentially, I'd want to create an array of
equations as:

array(r, l, t, rl)

not array('r', 'l', 't', 'rl')

after reading in 'r','l','t','rl' where r,l,t,rl have all been assigned
different equations that can be evaluted for different values at
different times.


More information about the SciPy-user mailing list