r/IPython • • Feb 28 '15

What exactly is IPython?

Hello,

I am relatively new to learning Python, and am confused by exactly what IPython is. Is it an implementation of Python like CPython, Jython, PyPy et al.? Or is it more like an IDE like Eric or Spyder? Or is it an IDE that is integrated with its own implementation of Python? Would the Notebook be part of that IDE? Is there an ELI5 explanation for how to conceptualise IPython?

Thanks!!

15 Upvotes

20 comments sorted by

View all comments

Show parent comment

2

u/hharison Mar 01 '15

Since I am a super beginner learning Python, what does this mean for mean? Would I still be able to follow, say, a textbook's examples, create Python *.py scripts, and run them in IPython?

Yes, if you run ipython script.py it will have pretty much the same result as python script.py. There may be an advantage of doing so but I don't know exactly what it is. The use case is more of doing things interactively than running scripts.

And can one use IPython for Python application development? Or is IPython used in a different way?

Yes, in the sense that while you are developing an application you are probably testing things out in a terminal. IPython makes that side of things a little easier. But it doesn't fundamentally change the workflow of developing an application.

1

u/avamk Mar 01 '15

That makes sense, thank you!