/usr/share/doc/python-sympy/examples/README is in python-sympy 0.7.5-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | 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.
|