accessing a classes code
bruno at modulix
onurb at xiludom.gro
Wed Apr 19 12:33:35 EDT 2006
Ryan Krauss wrote:
> I have a set of Python classes that represent elements in a structural
> model for vibration modeling (sort of like FEA). Some of the
> parameters of the model are initially unknown and I do some system
> identification to determine the parameters. After I determine these
> unknown parameters, I would like to substitute them back into the
> model and save the model as a new python class.
Why ? Python is dynamic enough to let you modify classes at runtime...
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"
More information about the Python-list
mailing list