简体   繁体   English

在 Atom 中运行 python 脚本

[英]Run python script in Atom

Is it possible to run a python script with atom, in another window?是否可以在另一个窗口中使用 atom 运行 python 脚本? It may use any package, at long as it works with python 3 and tkinter.它可以使用任何包,只要它适用于 python 3 和 tkinter。 I tried the script package, but I couldn't find the option.我尝试了脚本包,但找不到该选项。 Is there somebody of you who got it working?你们有人让它工作吗?

I don't think ATOM is an IDE.我不认为 ATOM 是一个 IDE。 It is just an Editor.它只是一个编辑器。

It cannot create a Development environment.它无法创建开发环境。 Your best option is use the built-in "Terminal".您最好的选择是使用内置的“终端”。

Even if there exist some package, all it could do is execute a command line, which is similar to manually running the file on the command line.即使存在某个包,它所能做的也只是执行一个命令行,这类似于在命令行上手动运行文件。 Running Python on Eclipse can give you a feel, that you execute by clicking the "Run", but it masks the command line actually.在 Eclipse 上运行 Python 会给您一种感觉,即您通过单击“运行”来执行,但它实际上屏蔽了命令行。

Only 'notebook' can do the wonders of python kernel.只有“笔记本”才能创造python内核的奇迹。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM