An ideal Python script might look like this.
Python Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
.gitignore
LICENSE.txt
README.rst
script.py
setup.py
tests.py

README.rst

python-script

This is an example of what a really good Python script might look like (minus all the business bits). You can find complete documentation of the internals on its homepage.