Re: [sympy] Go a step back after a bad manipulation

2023-12-07 Thread Oscar Benjamin
I think what you mean here is more like "variables" rather than "symbols". You might want to try using Spyder which can show you the values of all of the Python variables you have defined. On Thu, 7 Dec 2023 at 17:16, Mario Lemelin wrote: > > If I had one functionality to have in Sympy, it would

Re: [sympy] Go a step back after a bad manipulation

2023-12-07 Thread Aaron Meurer
This is more a question of the notebook frontend, not SymPy (SymPy is just doing the symbolic math). The debugger in Jupyter might offer what you are looking for. Or there might be other notebook extensions that do it.I don't personally use the notebook very often so I don't have any specific solut

Re: [sympy] Go a step back after a bad manipulation

2023-12-07 Thread Mario Lemelin
If I had one functionality to have in Sympy, it would be the possibility to get access to a list of symbols that I am using in my notebook. A function called, let's say LstSymbols(), which give the name of the symbols that are in use in the notebook in addition to their values . This way, I can

Re: [sympy] Go a step back after a bad manipulation

2023-12-07 Thread Sangyub Lee
Jupyter notebook is already a good framework to write code like literature, and unfortunately, I don't think that we need a different tooling from SymPy to do that. I just advice to make multiple cells, structure your notebooks well, and print the intermediate results of your computation often in