Sublime Text 3 命令 B 未运行 [英] Sublime Text 3 Command B not running

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

问题描述

我下载了 Sublime Text 3,现在我正在尝试在其中运行一个简单的 Python 代码.当我运行 Command + B 时,代码似乎已经运行,但我没有看到任何输出:

I downloaded Sublime Text 3 and now I am trying to run a simple python code in it. The code seems to have run when I run Command + B, but I don't see any output:

我使用的是 Mac OS X El Capitan.我似乎看不出这里有什么问题.Sublime 总是打印格式正确的 python 代码的输出.

I am on Mac OS X El Capitan. I can't seem to see what's the issue here. Sublime has always printed the output for correctly formatted python code.

推荐答案

您可能正在使用 python 语法检查,按 COMMAND+SHIFT+B 选择要构建的内容,选择 python,然后 COMMAND+B 应作为你预料到了.或者进入工具/构建工具.

You are likely using the python syntax check, press COMMAND+SHIFT+B to select what to build with, select python and after that COMMAND+B should work as you expected. Alternatively go under tools/Build with.

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

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