import simfile for sim, filename in simfile.openpack(R"C:\StepMania\Songs\My Pack"): print(f"Loaded {sim.title} from {filename}")