added .so files to gitignore
examples/retrieve.py: pep8-ified
pep8-ified setup.py
ported to python3
examples/retrieve.py: added argparse, adjusted python3 support