X-Git-Url: https://scm.cri.mines-paristech.fr/git/linpy.git/blobdiff_plain/bb5bf66e65ca05ea05fd6a646ab2d57871571789..a13b139496c50e81964197336f51303022ab4e3b:/examples/README.rst?ds=sidebyside diff --git a/examples/README.rst b/examples/README.rst index 990fcaa..17ee50f 100644 --- a/examples/README.rst +++ b/examples/README.rst @@ -3,15 +3,15 @@ Examples ======== -This directory contains pypol examples programs. +This directory contains LinPy examples programs. Running Examples ================ -To run the individual examples one needs to have Python version ≥ 3.4 installed and pypol must be in your ``PYTHONPATH`` environment variable. +To run the individual examples one needs to have Python version ≥ 3.4 installed and linpy must be in your ``PYTHONPATH`` environment variable. Most examples can be run from the command line ``python3`` and the name of the example:: - vivien@rochefort:~/pypol/examples$ export PYTHONPATH=$PWD/..:$PYTHONPATH - vivien@rochefort:~/pypol/examples$ python3 squares.py + vivien@rochefort:~/linpy/examples$ export PYTHONPATH=$PWD/..:$PYTHONPATH + vivien@rochefort:~/linpy/examples$ python3 squares.py -Note: on most systems, the current directory is searched by Python automatically, so ``python3 examples/squares.py`` works from the pypol root directory, however there are systems (Ubuntu Intrepid) where this doesn't work by default, unless you put ``PYTHONPATH=.`` into your .bashrc for example. +Note: on most systems, the current directory is searched by Python automatically, so ``python3 examples/squares.py`` works from the LinPy root directory, however there are systems (Ubuntu Intrepid) where this doesn't work by default, unless you put ``PYTHONPATH=.`` into your .bashrc for example.