Update gitignore file.
(python-pip.rst): fix the introduction.
(python-nose.rst): in the demonstration of the --attr option, use a literalinclude command to include a raw script.
(python-scipy.py) use literalinclude commands.
(python-apgl.py): add resources for APGL.