Create triplog.py