Passing command Line argument to Python script within Eclipse(Pydev)

前端 未结 5 1514
刺人心
刺人心 2020-12-05 10:27

I am new to Python & Eclipse, and having some difficulties understanding how to pass command line argument to script running within Eclipse(Pydev).

The following

5条回答
  •  执念已碎
    2020-12-05 11:04

    Click on the play button down arrow in the tool bar -> run configurations -> (double click) Python Run -> Arguments tab on the right hand side.

    From there you can fill out the Program Arguments text box:

提交回复
热议问题