Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/341.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 我需要一个像gnome这样的外部终端来处理崇高的文本_Python_Sublimetext3 - Fatal编程技术网

Python 我需要一个像gnome这样的外部终端来处理崇高的文本

Python 我需要一个像gnome这样的外部终端来处理崇高的文本,python,sublimetext3,Python,Sublimetext3,我在oracle虚拟框的lubuntu中使用sublime text 3进行python编码。我需要一个外部终端来执行在文本编辑器中编写的脚本。我编写了以下代码并构建了一个新系统 { "cmd": ["gnome-terminal -e 'bash -c \"python3 -u $file;echo;echo Press ENTER to exit; read line\"'"], "shell": true } 当我按ctrl+build时,它显示找不到构建系统。我还使用L

我在oracle虚拟框的lubuntu中使用sublime text 3进行python编码。我需要一个外部终端来执行在文本编辑器中编写的脚本。我编写了以下代码并构建了一个新系统

{ 
  "cmd": ["gnome-terminal -e 'bash -c \"python3 -u
  $file;echo;echo Press ENTER to exit; read line\"'"],
  "shell": true 
}

当我按ctrl+build时,它显示找不到构建系统。我还使用LX终端安装了gnome。要在终端中运行代码,我应该怎么做?

我无法更正您的代码,但如果您无法修复,请尝试SublimeREPL软件包。这是一个简单的操作指南。

什么是“[I]也使用lxterminal安装了gnome”的确切含义?如果你已经用Gnome替换了LXDE,那么严格来说你不再使用卢本图了。也许您正在寻找在LXDE系统上工作的gnome终端的替代品;但是你显然已经知道LX终端。
“shell”:真的
在这里看起来可疑;但我不熟悉Sublime,所以可能有点奇怪。