R script that goes with t3.py
python functions that go with t3.py