You all use ipython, it’s an awesome tool.
However, it’s kind of annoying to exit and re-enter ipython when you change your python files.
There’s an extension built into ipython called autoreload which can be loaded by entering:
|
|
Now whenever you edit your file, your objects will be updated in ipython without the need to close and reopen ipython.
But entering those lines each time you pop open ipython isn’t fun either.
Enter ipython profiles!
|
|
And BOOM, you’re auto auto reloading python modules L I K E A B O S S !!1