如何在 Ubuntu 中运行 PyCharm - “在终端中运行"还是“跑"? [英] How to run PyCharm in Ubuntu - "Run in Terminal" or "Run"?

查看:95
本文介绍了如何在 Ubuntu 中运行 PyCharm - “在终端中运行"还是“跑"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我双击 pycharm.sh 时,Ubuntu 让我在在终端中运行"和运行"之间进行选择.这些选项有什么区别?

When I double-click on pycharm.sh, Ubuntu lets me choose between "Run in Terminal" and "Run". What is the difference between these options?

推荐答案

为了使其更加用户友好:解压后,进入目录,运行bin/pycharm.sh.一旦它打开,它要么让您创建一个桌面条目,要么如果没有,您可以通过转到工具菜单并选择创建桌面条目来要求它这样做...

To make it a bit more user-friendly: After you've unpacked it, go into the directory, and run bin/pycharm.sh. Once it opens, it either offers you to create a desktop entry, or if it doesn't, you can ask it to do so by going to the Tools menu and selecting Create Desktop Entry...

然后关闭 PyCharm,以后您只需单击创建的菜单项即可.(或将其复制到您的桌面)

Then close PyCharm, and in the future you can just click on the created menu entry. (or copy it onto your Desktop)

回答 Run 和 Run in Terminal 之间的细节:本质上是一样的,但在终端中运行"实际上首先打开一个终端窗口并显示程序的控制台输出.很可能你不想要那个:)

To answer the specifics between Run and Run in Terminal: It's essentially the same, but "Run in Terminal" actually opens a terminal window first and shows you console output of the program. Chances are you don't want that :)

(除非您正在尝试调试应用程序,否则您通常不需要查看它的输出.)

(Unless you are trying to debug an application, you usually do not need to see the output of it.)

这篇关于如何在 Ubuntu 中运行 PyCharm - “在终端中运行"还是“跑"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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