simfile-scripts/releasenotes/2.1.0/example3.py
2022-08-20 18:02:25 -07:00

6 lines
222 B
Python

import simfile
from fs.zipfs import ZipFS
zip_fs = ZipFS(R"C:\Users\micro\Downloads\Coconut [13].zip")
sim, filename = simfile.opendir("Coconut", filesystem=zip_fs)
print(f"Loaded {sim.title} from {filename} inside ZIP")