You can load and save most Sage object to disk using the load and save member functions and commands.
Note
It is impossible to save certain Sage objects to disk. For example, if is a MAGMA object, i.e., a wrapper around an object that is defined in MAGMA, there is no way to save it to disk, since MAGMA doesn’t support saving of individual objects to disk.
Load object with given name from the Sage database. Use x.db(name) or db_save(x, name) to save objects to the database.
The database directory is $HOME/.sage/db.
Save x to the Sage database.
The database directory is $HOME/.sage/db.