<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def periodic(period=60.0, file=sys.stderr):
 """Start a daemon thread which will periodically print GC stats :param period: Update period in seconds :param file: A writable file-like object """

    import threading
    import time
    S = _StatsThread(period=period, file=file)
    T = threading.Thread(target=S)
    T.daemon = True
    T.start()