thesis.py