Is it possible to define commands permanently ?
Hi! Just got started with Sage.
Alot of commands in Sage are quite verbose and long like "numerical_approx" or "cartesian_product". This might make things more accesible, but it does make the workflow quite slow and cluttered IMO. Is it possible to define new commands in Sage that will always be loaded everytime i open the console? Really i'm just trying to create permanent shorthand versions of existing commands.
In a less ideal, but still suitable solution: Is it possible to make a library that you can then load in the console? Then i could just load it everytime i start the console with one line of code.
Kind regards Buster
In addition to adding commands in
init.sage
, I recommend using the TAB key frequently. You rarely need to type in the whole command. Also, the latest beta release (and so upcoming in an official release) includes an upgraded version of IPython, giving access to its "autosuggestions": https://ipython.readthedocs.io/en/sta....