Visual Studio Code: run Python file with arguments

前端 未结 7 948
被撕碎了的回忆
被撕碎了的回忆 2021-02-04 02:00

Is there an easy way to run a Python file inside Visual Studio Code with arguments?

I know I can add a custom configuration in the launch.json file with the

7条回答
  •  自闭症患者
    2021-02-04 02:14

    If you are using a virtual environment, be sure to use the full path to the environment's Python interpreter.

提交回复
热议问题