Today I tried defining a function while in the SympyLive shell. That is
something like:
def f(x):
return x
But when entered, I got a complaint. So I changed the input method to
shift-enter and got it to work (ie got the def to work). When using it with
such as f(1) it returned the correct answer. However, I am now writing
some documentation on my local machine and when it is made it has no
errors. When I view the html of the new stuff I am writing which includes
some example code with a def f(x):
in it, when executed in SymPy Live from the html display of the new doc, I
get a failure just when the new function is defined. So it does not parse
the requested code as I want. It seem that when executing the doc code on
SymPy Live the apparently needed shift-enter rather than the default enter
is what is encountered. So for the unsuspecting user who reads the
documentation and just wants to run it, there is a problem. How to enable
the correct behavior so the user will get the code executed properly and
will not have to discover the workaround. I just want the code to work with
no further bother from the user. Can someone please clue me in?
Thanks.
Comer
--
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/CAEL1xhD%3DrnSAOF8GgAiQOT-%2Bydeu_PAwJxGEqNF5Nydn9Tc-Og%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.