school_guy
school_guy

Reputation: 300

Give parameters to Pycharm

I am completly new to Python and have written no script in this language. But I need help with the following line (I know the line is for running the script in the interpreter). I need to run exactly this program where I can do decompile the .gwc file. I don't want to learn Python now, I just want to run this programm in Pycharm.

Here is the line:

$ python gwcd.py [OPTIONS] <gwc file>

The Options are:

-h, --help       show this help message and exit
--output OUTPUT  Output directory where gwcd will store extracted data
--lua            Extract compiled lua file
--completion     Show the completion code
--media          Extract media files
--verbose, -v    Show all data related to the cartridge
--all            Do everything

The Question is also for me, where the gwc file has to be stored.

Thanks in advance!

P.S.: The Github Link for the Project is: https://github.com/driquet/gwcd.git

Upvotes: 0

Views: 1896

Answers (1)

Paul Everitt
Paul Everitt

Reputation: 661

Presumably you are running this under PyCharm, meaning you made a Run Configuration and you then click the green "Run" button.

If so, edit the Run Configuration and add your arguments to the "Script parameters" field. You might (or might not) need to set the "Working directory" field if you want your gwc file to be relative, instead of supplying the full path.

Upvotes: 1

Related Questions