On Sun, Aug 15, 2010 at 6:02 PM, Jay <jul...@grayvines.com> wrote:
> Hey there.
>
> I'm trying to get sage to use bpython as an interpreter, rather than
> ipython or vanilla python. I'm pretty sure I asked around a year ago,
> but being that a year has passed since then, has anyone tried to do
> so?

Hi,

Thanks for mentioning bpython, which I've never heard of before.
Here's how to get it going with Sage:

flat:~ wstein$ sage -sh
...
$  easy_install bpython
$  bpython

>>> from sage.all import *
>>> x = var('x')
>>> integrate(sin(x)*log(x), x)
-log(x)*cos(x) + integrate(cos(x)/x, x)

---

Because it's pretty fun to *watch* bpython in use, which is really
different than Ipython or the Sage notebook, I've uploaded a little
screencast:

   http://picasaweb.google.com/wstein/Movies#5505816572329515074

(this might take a minute until it is "ready")

>
> With SAGE_ROOT properly set, I can run `from sage.all_cmdline import
> *` but that fails with an `ImportError: No module named memory`, which
> I assume is because LD_LIBRARY_PATH and whatever else sage does on
> startup hasn't been properly set.
>
> I'd just want to do exactly whatever ipython loads into its namespace
> on startup, and do so without mangling with LD_LIBRARY_PATH which if I
> remember correctly isn't really meant to be messed with. Anyone have
> any guidance as to how to proceed?
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to 
> sage-devel+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to