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
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With