One way, from the wiki faq (http://wiki.sagemath.org/faq):

QUESTION: Is there anything so Sage can be made to automatically
execute commands on startup?
ANSWER: Yes, just make a file $HOME/.sage/init.sage and it will be
executed any time you start sage.

A more pervasive solution would be to change what is imported within
the sage library, for example by altering the file $SAGE_ROOT/devel/
sage/sage/all.py.

-M. Hampton

On Jul 9, 11:04 am, dw <dwe...@structuralcomponents.net> wrote:
> I have added the unum module for units to my site-packages.  I use
> this module in nearly all notebooks and would like to avoid importing
> it at the top of every one.  Can someone point me to where I can add
> this to the list of standard imports?  Thanks.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to