How to use IPython

I could not understand the ipython library. This url provides a generic function, but I could not associate it with the kernel. http://ipython.org/ipython-doc/stable/interactive/tutorial.html

How can I use IPython to improve my everyday use of python applications?

+4
source share
2 answers

ipython is an improved interactive tooltip, not a library. It has features such as tab completion and profiles that are missing from the interactive vanilla tooltip (which runs python without an input file). All features are listed on the page you specified.

This way, it does not improve your everyday python application experience (whatever that means), but it does provide benefits during development.

In addition, there is an alternative called bpython , it also has pretty great features.

+11
source

Do you do scientific computing? ipython 0.12 has new functionality called ipython notebook, which is really useful for data analysis. You can easily print graphics and data in your browser and reload your code. Then you can print it in pdf format and make a nice report.

it is also useful for learning python due to ipython functionality. You can quickly check and understand how certain functions work. Some especially useful features besides tab completion

  • object?? provides additional information about the object
  • %history gives you a list of all your previous commands
  • %debug , if you push an error, this will lead you to the debugger so you can quickly debug
+1
source