[IPython-dev] online sympy shell at live.sympy.org

Brian Granger ellisonbg.net at gmail.com
Mon May 19 12:36:43 EDT 2008


On Mon, May 19, 2008 at 8:35 AM, Ondrej Certik <ondrej at certik.cz> wrote:
> Hi,
>
> I've setup:
>
> http://live.sympy.org/
>
> which is a python shell (see the link in the app for sources) and I've
> included a sympy module in it. Sample session:
>
>>>> from sympy.interactive import *
>>>> integrate(1/(x**3+1), x)
> (1/3)*log(1 + x) + (-1/6 - 1/6*I*3**(1/2))*log(-1/2 + x -
> 1/2*I*3**(1/2)) + (-1/6 + (1/6)*I*3**(1/2))*log(-1/2 + x +
> (1/2)*I*3**(1/2))
>>>> sin(x).series(x, 0, 5)
> x - 1/6*x**3 + O(x**5)
>
>
> The thing is running on the google app engine (thanks Harald Schilly
> for the account).
>
> Anyone interested in improving it? I'll create him an access to the
> app engine for this app. Having something like ipython would be nice.
> Also the pretty printing is a little broken, e.g.:
>
>>>> pretty_print(1/(x+1))
> 1
> -----
> 1 + x
>>>> pretty_print(Integral(1/(x+1), x))
> /
>  |
>  |   1
>  | ----- dx
>  | 1 + x
>  |
> /
>
> i.e. the first line is left stripped. But otherwise it seems to work
> very nice. CCing to ipython-dev, as an argument for having ipython
> pure python only (otherwise it won't run on google app engine). :)

Very nice!

The google app engine is definitely a target for ipython - don't
worry, the core of IPython will always remain pure python!

Brian

> Ondrej
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://lists.ipython.scipy.org/mailman/listinfo/ipython-dev
>



More information about the IPython-dev mailing list