1.8 KiB
Ipython
The true GOAT if we're going to be real. Big shout-out to Gabe from Schrodinger for truly putting me onto iPython.
Magic!
!redditsave.com_we_always_have_that_senior_who_solve_everything-y2y8hevqny891.mp4
iPython uses MAGIC ! :)
To load a file:
%load filename.py
To save a file:
%%writefile filename.py
To return a list of magic commands: use %magic
More useful magic commands can be found here and here!
Some notes: Make sure to read the docs though. Reading about iPython led to installing xonsh Which ultimately led to this community for support.
Personally I think xonsh is really cool and could potentiallY be better than iPython?? It might need a note of its own eventually.
Setting up xonsh virtual environments seem a lot more easier than the python conda method.
Fun facts:
- did you know you can create clusters and parallel compute in ipython?
- here are some additional cookbooks for iPython.
This may be better off in the VSCode section but here is a useful tutorial on using iPython within VSCode should you ever make the switch to something a bit more user-friendly.