mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2025-12-16 12:08:36 +00:00
11 lines
159 B
Python
11 lines
159 B
Python
import pack
|
|
import ini
|
|
import sys
|
|
|
|
filename = sys.argv[1]
|
|
f = file(filename)
|
|
p = pack.Pack(f.read())
|
|
f.close()
|
|
ini = ini.Ini(p.GetFile(sys.argv[2]))
|
|
print ini
|