Running command line commands within PyCharm

╄→尐↘猪︶ㄣ 提交于 2020-07-30 05:00:29

问题


Hi I am using Python and have never really used it before. I have some commands sent to me that I need to run in the terminal. Basically:

python Test.py GET /feeds

I am using PyCharm and I was wondering if there was a way to run these same commands from within that IDE?


回答1:


Press Alt+F12 to open terminal within PyCharm, then write in the command you wish to run and press enter.

In your case:

  1. Press Alt+F12
  2. Type python Test.py GET /feeds
  3. Press Enter


来源:https://stackoverflow.com/questions/28570058/running-command-line-commands-within-pycharm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!