简体   繁体   English

我需要像gnome这样的外部终端来欣赏精美的文字

[英]i need an external terminal like gnome for sublime text

I use sublime text 3 in lubuntu in oracle virtual box for python coding. 我在oracle虚拟框中的lubuntu中使用sublime text 3进行python编码。 I want an external terminal to execute my scripts written in the text editor. 我希望外部终端执行我在文本编辑器中编写的脚本。 I wrote the following code and built a new system, 我编写了以下代码并构建了一个新系统,

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

when I press ctrl+build it says no build system found. 当我按ctrl+build ,说找不到构建系统。 I have also installed gnome using the lxterminal. 我还使用lxterminal安装了gnome。 What should I do in the terminal to get the codes running? 我应该在终端中做什么才能使代码运行?

I can't correct your code, but if you won't be able to fix it, try SublimeREPL package. 我无法纠正您的代码,但是如果您无法修复它,请尝试SublimeREPL软件包。 Here is a simple guide on how to do it. 是有关操作方法的简单指南。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在外部终端中使用Sublime Text 2构建python文件 - Build a python file using Sublime Text 2 in an external terminal 使用subprocess.Popen在外部gnome终端中运行命令 - running commands in an external gnome-terminal using subprocess.Popen 如何使gnome-terminal命令像python中的对象一样工作 - How to make gnome-terminal command act like object in python 自定义Sublime Text 2就像CodeRunner - Customizing Sublime Text 2 to be like CodeRunner 当我运行python代码时,在Sublime Text和终端中获得不同的结果? - Get different results in Sublime Text and terminal when I run python code? 如何使用来自终端的Sublime Text打开Python脚本 - How do I open Python scripts using Sublime Text from terminal 在Sublime Text的路径中执行外部程序 - Executing an external program in the path from Sublime Text 将 VS Code 上的设置更改为像 Sublime Text - Change settings on VS Code to be like Sublime Text 如何在Sublime Text 2中打开一个文件夹,并使内部目录显示在侧面,如在Brackets中一样? - How do I open a folder in Sublime Text 2 and have the inner directory show up on the side, like in Brackets? Sublime Text Python构建和打开终端需要很长时间 - Sublime Text Python builds and opening a terminal takes very long time
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM