def Main(): # Sample usage used in a demo... ---- em = EventManager() recordedEvents = em.Record(10) em.WriteToFile() em.Play()