Latest commit 7104a4b Mar 24, 2016 @moorepants moorepants Merge pull request #10871 from hiamandeep/patch-6
fixed print statement compatibilty for python3 and made code simpler
Permalink
..
Failed to load latest commit information.
advanced removed trailing whitespace Mar 17, 2016
beginner
intermediate
notebooks
README Correct Python version requirements Nov 10, 2013
all.py

README

This directory contains SymPy example programs.

-------------------------------------------------------------------------------
DIRECTORY STRUCTURE

The examples are broken up into three categories based on difficulty of both
the mathematics and programming concepts.  They roughly follow the following
guide:

beginner :
  Simple examples appropriate for first steps in using SymPy, for someone
  with little or no programming experience.

intermediate :
  Demonstrations of more complex mathematical concepts, but still for
  someone with little programming experience.

advanced :
  Larger demonstrations of advanced mathematical topics.

-------------------------------------------------------------------------------
RUNNING EXAMPLES

All the working examples can be run by executing the "all.py" script, use
./all.py -h for usage, if an example is known to be broken it will be commented
out in this script.

To run the individual examples one needs to have Python version >= 2.6
installed and SymPy must be in your PYTHONPATH environment variable.  Most
examples can be run from the command line python and the name of the example:

  aterrel@lilac:~/sympy/examples$ export PYTHONPATH=$PWD/..:$PYTHONPATH
  aterrel@lilac:~/sympy/examples$ python beginner/basic.py
  (3*a*b**2)**c

Note: on most systems, the current directory is searched by Python
automatically, so "python beginner/basic.py" works from the sympy root
directory, however there are systems (Ubuntu Intrepid) where this doesn't work
by default, unless you put "PYTHONPATH=." into your .bashrc for example.