ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 13 Jun 2013 09:51:08 -0500How to import some commands?http://ask.sagemath.org/question/10235/how-to-import-some-commands/Hello
in many question that I asked before the answer was I should import
sage: from sage.rings.polynomial.toy_buchberger import spol /..
I want to know how should I import these? I wrote these commands in sage but I've got error, so how should I use these import things?
Thank youThu, 13 Jun 2013 09:42:17 -0500http://ask.sagemath.org/question/10235/how-to-import-some-commands/Answer by tmonteil for <p>Hello</p>
<p>in many question that I asked before the answer was I should import
sage: from sage.rings.polynomial.toy_buchberger import spol /..
I want to know how should I import these? I wrote these commands in sage but I've got error, so how should I use these import things?</p>
<p>Thank you</p>
http://ask.sagemath.org/question/10235/how-to-import-some-commands/?answer=15078#post-id-15078It means that you just have to copy the given line:
from sage.rings.polynomial.toy_buchberger import spol
in the Sage command line or in the notebook, and then the `spol()` function becomes available for the rest of your computation. The fact that not everything is imported by default to save memory and to accelerate startup.
If you get an error after typing such a line, then there is a problem with your Sage installation, please report it by giving an example of what you typed, your Sage version, which binary you downloaded, which machine and OS you used.
Thu, 13 Jun 2013 09:51:08 -0500http://ask.sagemath.org/question/10235/how-to-import-some-commands/?answer=15078#post-id-15078