在PyCharm中运行命令行命令 [英] Running command line commands within PyCharm

查看:75
本文介绍了在PyCharm中运行命令行命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Python,之前从未真正使用过它。我收到了一些需要在终端中运行的命令。基本上:

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

我正在使用PyCharm,我想知道是否可以从该IDE中运行这些命令?

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

推荐答案

按Alt + F12打开PyCharm中的终端,然后输入要运行的命令并按Enter。

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

在您的情况:


  1. Alt + F12

  2. 键入 python Test.py GET / feeds

  3. Enter

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

这篇关于在PyCharm中运行命令行命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆