Create sp.py

For literate programming.
Currently no useful functionality.