On Thu, Apr 24, 2014 at 5:30 AM, jiju <
jijutd...@gmail.com> wrote:
> Hi,
>
> Is there any way to obtain all the steps involved in the mathematical
> calculations from sympy?
I think what you mean is that you want to see what is happening behind
the scenes when you use a SymPy function or method? I would think if
you follow the standard procedure for any other Python
program/software/package, that would work here. Here is a rough
overview:
1. Find the source line for your function/method
2. Insert pdb.set_trace() there (after import pdb)
3. Run your "usual" program which makes use of that function/method
4. Your program will hit the pdb.set_trace() line, and you will get
the (pdb) prompt.
5. Now, you can choose to step through each line that Python is executing
You may find some of the pdb links here helpful:
http://stackoverflow.com/questions/4228637/getting-started-with-the-python-debugger-pdb
You may also find
http://docs.sympy.org/latest/modules/utilities/source.html useful.
Hope that helps.