Create tpb_python3.0.py

Added a version of the script for Python 3.0 and above.