PhD Python scripts