Zdravim,

zkusil bych pouzit exec:

>>> m = "sin,radians"
>>> exec("from math import " + m)
>>> print "sin30 = %f" % sin(radians(30))
sin30 = 0.500000

T.


-- 
There is hopeful symbolism in the fact that flags do not wave in a
vacuum.
                -- Arthur C. Clarke
_______________________________________________
Python mailing list
[email protected]
http://www.py.cz/mailman/listinfo/python

Odpovedet emailem