If all you want is undefined names to be defined automatically, try isympy -a.
And while we're talking about good style, don't use strings as input. See https://github.com/sympy/sympy/wiki/Idioms-and-Antipatterns#strings-as-input. Aaron Meurer On Wed, Jun 5, 2013 at 11:29 PM, Chris Smith <[email protected]> wrote: > Python let's you shoot yourself in the foot by erasing functions. So when > you import from abc first you get the variable named N and then the evalf > alias when you import * from sympy (erasing the variable) and vice versa > when you reverse the sequence. To recover N just "from sympy import N". Also > note that the mnemonic for single-letter-named functions is COSINE-Q. Those > single letters, when imported from sympy, have a non-Symbol meaning. > > -- > 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?hl=en-US. > For more options, visit https://groups.google.com/groups/opt_out. > > -- 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?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
