> > How can I create a permanent function Library for Sage > > so I can simply use the Function myAdd(3,4) after loading > > sage and not include something. > > Put your functions in a file called init.sage > which you place in the .sage directory in > your home directory. >
You can split the difference too and put it in a separate foo.sage file somewhere on your computer and do an "%attach foo.sage" in your init.sage if you don't want to type that everytime want to use it in a fresh start of Sage. However, if it is something that should be available in Sage, why not submit it for inclusion into Sage? Best, Travis -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.