This example explains how to write Python scripts that have access to
the SAGE library functionality.

IMPORTANT!:
It's important that the root directory of your sage install be in 
your PATH in order for the examples to work.  I.e., the command 
"sage" must be in your PATH.

This example arose out of code from Nathan Dunfield and David Kohel.

The scripts binom and factor in this current directory defines a script
that uses the SAGE library.   To use it you must have sage-python in
your path.   Note that 

  from sage.all import *

appears near the top of each script.  The key thing is that sage run
as a #! script sets all environment variables, etc., correctly for using 
the SAGE library.  Otherwise it is just like the usual Python interpreter. 

EXAMPLES:
was$ ./binom 5 2
10

was$ ./factor 200593983
3 * 37 * 1807153

NOTE -- No SAGE preparsing is available for scripts yet, even as
an option.   A workaround is to turn the already preparsed version 
of a .sage script into a #! script. 
