从 Atom 运行 Python [英] Running Python from Atom
本文介绍了从 Atom 运行 Python的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 Sublime 中,我们使用 ⌘ + b(或 ctrl> + b)
In Sublime, we have an easy and convent way to run Python or almost any language for that matter using ⌘ + b (or ctrl + b)
代码将在源代码下方的小窗口中运行,并且可以在不再需要时使用转义键轻松关闭.
Where the code will run in a small window below the source code and can easily be closed with the escape key when no longer needed.
有没有办法用 Github 的 atom 编辑器在功能上复制这个?
Is there a way to replicate this functionally with Github's atom editor?
推荐答案
script 包完全符合您的要求:https://atom.io/packages/script
The script package does exactly what you're looking for: https://atom.io/packages/script
包的文档还包含键映射,您可以轻松自定义.
The package's documentation also contains the key mappings, which you can easily customize.
这篇关于从 Atom 运行 Python的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文