Update teach_txt.py