[python] How can I tail a log file in Python?