mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
15 lines
332 B
Python
15 lines
332 B
Python
|
import argparse
|
||
|
parser = argparse.ArgumentParser()
|
||
|
parser.add_argument("--game")
|
||
|
args = parser.parse_args()
|
||
|
import os
|
||
|
import glob
|
||
|
|
||
|
def delete_extension(ext):
|
||
|
fileList = glob.glob('./decompiler_out/{}/*.{}'.format(args.game, ext))
|
||
|
for filePath in fileList:
|
||
|
os.remove(filePath)
|
||
|
|
||
|
delete_extension("gc")
|
||
|
delete_extension("asm")
|