init_session() is already run inside of SymPy live, so it's not necessary. I'm not surprised that it doesn't actually work inside it, as the app engine uses a different execution model from a regular Python session.
Aaron Meurer On Fri, Oct 23, 2015 at 8:04 PM, Manipal Singh <[email protected]> wrote: > Hello all, > > > First of all I'm a newbie and want to start contributing to sympy. While > using init_session on live shell I'm getting: > > Python console for SymPy 0.7.6 (Python 2.7.5-32-bit) (ground types: python) > These commands were executed: >>>> from __future__ import division >>>> from sympy import * >>>> x, y, z, t = symbols('x y z t') >>>> k, m, n = symbols('k m n', integer=True) >>>> f, g, h = symbols('f g h', cls=Function) >>>> init_printing() > > Documentation can be found at http://www.sympy.org > >>>> > Traceback (most recent call last): > File "<string>", line 1, in <module> > File > "/base/data/home/apps/s~sympy-live-hrd/45.380685391411058699/sympy/sympy/interactive/session.py", > line 491, in init_session sys.exit('Exiting ...') > SystemExit: Exiting ... > > > > > > I can't understand whether Traceback is a part of command executed, in case > it is, want to know about it. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/81e1f9fe-93e7-406d-84ae-b4ac223fc498%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAKgW%3D6%2BZxJbMh-Z%2BwhBVM_u0M3TpHu4yEf8T6jWmQgsrpnFEtg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
