Hi, thanks to Michael, Garry and Mike I figured out how to run Sage in a regular python:
http://wiki.sagemath.org/Sage_in_systemwide_python turns out it's actually really simple, the only unconvenient way is that you need to start the python interpreter with: $ LD_LIBRARY_PATH="/home/ondra/ext/sage/local/lib" python but the rest is just a matter of setting the proper paths, that can be done by an easy python function, see the wiki. Maybe the above doesn't work for everything, but it does for calling maxima from python. It's pretty cool actually, I always wanted to call Maxima from regular python. Now I can. In the script I also need to setup the path to Sage. One could of course parse the LD_LIBRARY_PATH and infer it from that. The only remaining annoying thing is this one LD_LIBRARY_PATH thing. I'll probably put it to my .bashrc, as there doesn't seem to be any way around it. Ondrej --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@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-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---