[sage-support] Re: Newbie Question

2008-02-05 Thread Ted Kosan
Alex wrote: > I am using Mac OSX, running Python 2.5.1 from the terminal. > > By "regular interpreter" i mean, pulling up the Terminal and typing > python to launch the Python. I want to be able to bundle everything up > for users and let them interact with whatever interpreter they use and > not

[sage-support] Re: Newbie Question

2008-02-05 Thread Georg
Alex, I'm not (yet) an experienced sage user, but I have some experience in what you are trying to do, I also tried to write scripts which can be started from the normal shell (with "#!/usr/bin/env sage-python" as a first line, note that sage-python just refers to the python installation that come

[sage-support] Re: 0^0 in sage-2.10.1 still undefined for Rationals...

2008-02-05 Thread Georg
Luis, there are two threads about this topic in the sage-newbie group (with the name "0^0 undefined" and "wow 0^0 shure is inconsistent in sage") which i think should adress your doubts, I'm not the expert here, but I have a practical application concerning combinatorial sums where it's assumed fo

[sage-support] Re: Newbie Question

2008-02-05 Thread William Stein
On Feb 5, 2008 1:50 PM, Alex Donaldson <[EMAIL PROTECTED]> wrote: > > I am using Mac OSX, running Python 2.5.1 from the terminal. > > By "regular interpreter" i mean, pulling up the Terminal and typing > python to launch the Python. I want to be able to bundle everything up > for users and let the

[sage-support] Re: Newbie Question

2008-02-05 Thread Alex Donaldson
I am using Mac OSX, running Python 2.5.1 from the terminal. By "regular interpreter" i mean, pulling up the Terminal and typing python to launch the Python. I want to be able to bundle everything up for users and let them interact with whatever interpreter they use and not necessarily need to kno

[sage-support] Re: Newbie Question

2008-02-05 Thread William Stein
On Feb 5, 2008 11:54 AM, Alex Donaldson <[EMAIL PROTECTED]> wrote: > > I'm pretty new to both Python and Sage, but am looking for a way to > create new classes using the Sage libraries and be able to use them in > the standard python interpreter, rather than using the sage -python > method. Is it

[sage-support] Newbie Question

2008-02-05 Thread Alex Donaldson
I'm pretty new to both Python and Sage, but am looking for a way to create new classes using the Sage libraries and be able to use them in the standard python interpreter, rather than using the sage -python method. Is it possible to do simple import statements on sage libraries from python classe

[sage-support] Re: 0^0 in sage-2.10.1 still undefined for Rationals...

2008-02-05 Thread Luis Finotti
Dear all, On Feb 5, 2008 10:23 AM, William Stein <[EMAIL PROTECTED]> wrote: > > On Feb 4, 2008 7:23 AM, Georg <[EMAIL PROTECTED]> wrote: > > > > Hi, > > sage: Rational(0)^Rational(0) > > --- > >Traceback (most recent

[sage-support] Re: DegreeSequence questions

2008-02-05 Thread kcrisman
On Jan 31, 12:37 pm, Robert Miller <[EMAIL PROTECTED]> wrote: > This is ultimately a question for the NetworkX people, since these > functions are just wrapping theirs. I tried > > sage: for x in range(100): show(graphs.DegreeSequence([3,3,3,3,3,3], > seed=randint(1,10))) > > and I got a

[sage-support] Re: 0^0 in sage-2.10.1 still undefined for Rationals...

2008-02-05 Thread William Stein
On Feb 4, 2008 7:23 AM, Georg <[EMAIL PROTECTED]> wrote: > > Hi, > sage: Rational(0)^Rational(0) > --- >Traceback (most recent call > last) > > /home/georg/ in () > > /home/georg/rational.pyx in sage.rings.rational.Rat