numpy people use import numpy as np and often import scipy as sp and from matplotlib import pyplot as plt
How about import sympy as S (for my part I still use import numpy as N -- historical relict from Numeric and numarray) Both lower case "s" and unabbreviated "sympy" seem bad choices for me ... My two cents, Sebastian Haase On Thu, Nov 12, 2009 at 3:24 PM, smichr <smi...@gmail.com> wrote: > > I'm just looking for some feedback about what is useful to see in the > documentation. I've finished making all imports explicit in the *py > files and am wondering what is most useful to see in the > documentation. > > What should the following be replaced with: > >>>> from sympy import * >>>> var('x') >>>> print sqrt(x) > > A >>>> from sympy.abc import x >>>> from sympy import sqrt >>>> print sqrt(x) > x**(1/2) > > B >>>> import sympy >>>> print sympy.sqrt(x) > x**(1/2) > > C >>>> import sympy as s >>>> s.var('x') > x >>>> print s.sqrt(x) > x**(1/2) > > If we are trying to get people to learn what's in sympy, the s.foo > format is the most direct instructional format, I think. Are there > other ideas? What do you think? > > /c > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---