HearthSim / python-fsb5

Library and tool to extract audio from FSB5 (FMOD Sample Bank) files
https://hearthsim.info
MIT License
133 stars 38 forks source link

one question&bug #12

Closed barnett2010 closed 7 years ago

barnett2010 commented 7 years ago

win 7 64 python27

There is a mistake

cmd python extract.py

File "extract.py",line 29 def print <self,*args>: SyntaxError: invalid syntax

How to deal with it???

barnett2010 commented 7 years ago

Replaced python3.0.1 There is a new problem

cmd python extract.py -0 b music.fsb Traceback : File"extract.py",line 3,in module> import argparse ImportError: No module named argparse

barnett2010 commented 7 years ago

Which version of the python you are using

synap5e commented 7 years ago

Hey

The script is meant to run with python3. Argparse is part of python 3.2 and up so that would be why 3.0.1 isn't working. Sorry it's not clear - that's my bad. I should note that in the the README.

synap5e commented 7 years ago

Noted as of 36279036b97416b45810da5a2453c64dd841a15a