mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2025-12-16 12:08:36 +00:00
12 lines
209 B
Python
12 lines
209 B
Python
import pack
|
|
import sys
|
|
|
|
filename = sys.argv[1]
|
|
f = file(filename)
|
|
p = pack.Pack(f.read())
|
|
f.close()
|
|
for filename in p.GetFilenames():
|
|
f = open(filename, 'w')
|
|
f.write(p.GetFile(filename))
|
|
f.close()
|