What is the difference between a .py file and a .ipy file?

I tried to save (and run) the script in both directions and run it using both ipython and python , but I don't see any difference. Are these file name extensions expandable?


Edit: difference between python and ipython

+5
source share
1 answer

.ipy indicates that it is an IPython script. The only difference between IPython scripts and regular Python scripts is that IPython scripts can use IPython magic, such as %timeit , and run system commands like !echo Hi .

+7
source

All Articles