I've tried saving (and running) a script in both ways, and running it using both ipython
and python
, but I don't see any difference. Are these filename extensions redundant?
Edit: the difference between python and ipython
I've tried saving (and running) a script in both ways, and running it using both ipython
and python
, but I don't see any difference. Are these filename extensions redundant?
Edit: the difference between python and ipython
.ipy
indicates that it's an IPython script. The only difference between IPython scripts and normal Python scripts is that IPython scripts can use IPython magics, e.g. %timeit
, and run system commands as !echo Hi
.