PyCharm “Run configuration” asking for “script parameters”

前端 未结 5 1359
隐瞒了意图╮
隐瞒了意图╮ 2021-02-07 07:55

While writing an application parsing command line arguments I would like to run it with various parameters.

I don\'t want to create a Run Configuration for ever

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-07 08:24

    My simple answer is adding another wrapper as the cover in the source code which will run on the selection you made through code branch or external command or file, so choosing different branch is just a 'ddp' tap distance in vim(line change for parameter settings). You dont have to depend on pycharm updating by building your own code world:)

提交回复
热议问题