Debugging with PyCharm terminal arguments

前端 未结 3 1039
有刺的猬
有刺的猬 2020-12-08 00:36

I have been using PyCharm for a bit so I am not an expert.

How I normally ran my programs was with the terminal like so:

program.py -t input1 -t1 inpu

3条回答
  •  -上瘾入骨i
    2020-12-08 00:44

    It was almost correct but just needed little correction with full script path.

    Menu: Run->Edit configurations->"+" (add new config)->Python.

    Script name: path + /program.py

    Script params: -t input1 -t1 input2

提交回复
热议问题