On Dec 20, 2007 12:28 PM, gani <[EMAIL PROTECTED]> wrote:
>
> Hi, I had an interesting question today when I was trying to introduce
> SAGE to some of my colleagues. A person asked - can sage be imported
> as a module into python? Can it? please let me know.

Yes. For example:

rank4:aws was$ sage -python
Python 2.5.1 (r251:54863, Nov 24 2007, 23:56:04)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sage.all
>>> sage.all.factor(939394)
2 * 83 * 5659



 --William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to