startracker.py
def flush_nonstars():
    """Clear global variables, close files, call gc."""
    global NONSTARS, NONSTAR_NEXT_ID, NONSTAR_DATAFILENAME, NONSTAR_DATAFILE
    NONSTARS = {}
    NONSTAR_NEXT_ID = 0
    gc.collect()
    NONSTAR_DATAFILE.close()
    NONSTAR_DATAFILENAME = "data" + str(time()) + ".txt"
    NONSTAR_DATAFILE = open(NONSTAR_DATAFILENAME, "w")
Clear global variables, close files, call gc.
Clear global variables, close files, call gc.
Clear global variables close files call gc .
def flush_nonstars():
    global NONSTARS, NONSTAR_NEXT_ID, NONSTAR_DATAFILENAME, NONSTAR_DATAFILE
    NONSTARS = {}
    NONSTAR_NEXT_ID = 0
    gc.collect()
    NONSTAR_DATAFILE.close()
    NONSTAR_DATAFILENAME = "data" + str(time()) + ".txt"
    NONSTAR_DATAFILE = open(NONSTAR_DATAFILENAME, "w")
def flush_nonstars ( ) : global NONSTARS , NONSTAR_NEXT_ID , NONSTAR_DATAFILENAME , NONSTAR_DATAFILE NONSTARS = { } NONSTAR_NEXT_ID = 0 gc . collect ( ) NONSTAR_DATAFILE . close ( ) NONSTAR_DATAFILENAME = "data" + str ( time ( ) ) + ".txt" NONSTAR_DATAFILE = open ( NONSTAR_DATAFILENAME , "w" )
Clear global variables, close files, call gc.
Clear global variables close files call gc .
"""Clear global variables, close files, call gc."""