Added formatting for TStr's in Python.