firstly one has to know under which category the function comes, in sympy

eg. e=1/log(x)**2 the command, e.func gives sympy.core.power.Pow and so,
its the core module one has to target at. I went there and opened power.py
and searched through the class Pow, to get the attribute exp.

therefore, the command e.exp gives me the exponent of the base i.e., ' -2 '
here and the command e.base gives me the base i.e., 'log(x)'



*-thanks,*
*Sai Nikhil.T <http://www.tsndiffopera.in/>*
*
*
*
*
*
*
*1*

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to