给 Pycharm 参数
Give parameters to Pycharm
我是 Python 的新手,没有用这种语言编写过任何脚本。但是我需要以下行的帮助(我知道该行用于 运行 解释器中的脚本)。我需要 运行 正是这个程序,我可以在其中反编译 .gwc 文件。我现在不想学Python,只想运行这个程序在Pycharm.
这是一行:
$ python gwcd.py [OPTIONS] <gwc file>
选项是:
-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
这个问题也是我的,gwc文件必须存放在哪里。
提前致谢!
P.S.: 项目的 Github Link 是:https://github.com/driquet/gwcd.git
推测您在 PyCharm 下 运行,这意味着您进行了 运行 配置,然后单击绿色 "Run" 按钮。
如果是这样,请编辑 运行 配置并将您的参数添加到 "Script parameters" 字段。如果您希望 gwc 文件是相对的,而不是提供完整路径,您可能(或可能不需要)设置 "Working directory" 字段。
我是 Python 的新手,没有用这种语言编写过任何脚本。但是我需要以下行的帮助(我知道该行用于 运行 解释器中的脚本)。我需要 运行 正是这个程序,我可以在其中反编译 .gwc 文件。我现在不想学Python,只想运行这个程序在Pycharm.
这是一行:
$ python gwcd.py [OPTIONS] <gwc file>
选项是:
-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
这个问题也是我的,gwc文件必须存放在哪里。
提前致谢!
P.S.: 项目的 Github Link 是:https://github.com/driquet/gwcd.git
推测您在 PyCharm 下 运行,这意味着您进行了 运行 配置,然后单击绿色 "Run" 按钮。
如果是这样,请编辑 运行 配置并将您的参数添加到 "Script parameters" 字段。如果您希望 gwc 文件是相对的,而不是提供完整路径,您可能(或可能不需要)设置 "Working directory" 字段。