Hacker News new | comments | show | ask | jobs | submit login

If you use sympy, I would strongly recommend using ipython qtconsole:


One of the big advantages is that you can print your expressions using LaTeX:


Why not the ipython notebook, in that case?

I went through this same thought process about two years ago.

IPython's notebook allows you to easily publish results. They include all you want and need: latex, imshow and nice code with many languages. But it's not good for generating results.

Perhaps the area it lacks most in is querying variables. In QtConsole, you just type `plot(x)` and see a plot with no side effects. In the notebook on the other hand, you have to type `plot(x)` into a new cell unless you want to rerun your code again and you have to delete that cell later (otherwise you have an unreadable notebook). Plus, the default keybindings (while easy to see) are not intuitive; I don't instinctively know how to jump back a cell.

I don't agree. In the notebook, you can use "%pylab inline" or "%matplotlib inline" magic to have plots inline, but you can also not use it and have plots output to a separate window without any side effects in the notebook itself. Or use any other backend of your choice.

To select a previous cell just press UP in command mode (or press Esc-UP in any mode). Ref: http://nbviewer.ipython.org/github/ipython/ipython/blob/2.x/...

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact