Is there a parameter in IPython to print the variables each time I assign them ?
Currently:
In [1]: a = 5
In [2]: a
Out[2]: 5
In [3]: b = a + 1
In [4]: b
Out[4]: 6
In matlab, the variable is printed unless one writes a ;
at the end, in ipython I would like to activate this with a magic function like so:
In [1]: %printassignment
In [2]: a = 5
a = 5
In [3]: b = a + 1
b = 6
I could write my own magic, but I'm pretty sure that's something that is so standard people would craft a super tuned, standard, function. The feature is especially useful for beginners.