def remember_thing(idset, filename, thing_id):
    if thing_id in idset:
        return
    idset.add(thing_id)
    f = open(filename, 'a')
    f.write("%s,%d\n" % (thing_id, int(datetime.utcnow().strftime("%s"))))
    f.close()
dataset/ETHPy150Open rasher/reddit-modbot/modbot.py/remember_thing/original