我可以在emacs中运行python程序吗? [英] Can I run a python program from within emacs?

查看:119
本文介绍了我可以在emacs中运行python程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在努力学习Python。我使用Aquamac和mac os x实现了一个emac

的实现。我有一个程序。如果我转到

命令提示符并键入pythong myprog.py,它可以工作。程序是否可以在编辑器中运行,或者不是如何进行开发?

我问,因为我在使用带有C#的Visual Studio,如果你''熟悉,你只需要跑步就可以了。在Python上我是否只使用

编辑器进行编辑,然后从命令

line运行程序?谢谢。

Hi, I''m trying to learn Python. I using Aquamac an emac
implementation with mac os x. I have a program. If I go to the
command prompt and type pythong myprog.py, it works. Can the program
be run from within the editor or is that not how development is done?
I ask because I was using Visual Studio with C# and, if you''re
familiar, you just hit run and it works. On Python do I use the
editor for editing only and then run the program from the command
line? Thank you.

推荐答案

2008-03-20,jmDesktop< ne *********** @ gmail.comwrote :
On 2008-03-20, jmDesktop <ne***********@gmail.comwrote:

我正在努力学习Python。我使用Aquamac和mac os x实现了一个emac

的实现。我有一个程序。如果我转到

命令提示符并键入pythong myprog.py,它可以工作。程序是否可以在编辑器中运行,或者不是如何进行开发?

我问,因为我在使用带有C#的Visual Studio,如果你''熟悉,你只需要跑步就可以了。在Python上我是否只使用

编辑器进行编辑,然后从命令

line运行程序?
Hi, I''m trying to learn Python. I using Aquamac an emac
implementation with mac os x. I have a program. If I go to the
command prompt and type pythong myprog.py, it works. Can the program
be run from within the editor or is that not how development is done?
I ask because I was using Visual Studio with C# and, if you''re
familiar, you just hit run and it works. On Python do I use the
editor for editing only and then run the program from the command
line?

http://www.google。 com / search?q = emacs + python

-

格兰特

http://www.google.com/search?q=emacs+python

--
Grant


Grant Edwards写道:
Grant Edwards wrote:

2008-03-20,jmDesktop< ne *********** @ gmail。 comwrote:
On 2008-03-20, jmDesktop <ne***********@gmail.comwrote:

>我正在努力学习Python。我使用Aquamac与mac os x实现了一个emac
实现。我有一个程序。如果我转到
命令提示符并键入pythong myprog.py,它可以工作。程序是否可以在编辑器中运行,或者不是如何进行开发?
我问,因为我使用的是带有C#的Visual Studio,如果你熟悉的话,你只是点击运行,它的工作原理。在Python上我是否仅使用
编辑器进行编辑,然后从命令
行运行程序?
>Hi, I''m trying to learn Python. I using Aquamac an emac
implementation with mac os x. I have a program. If I go to the
command prompt and type pythong myprog.py, it works. Can the program
be run from within the editor or is that not how development is done?
I ask because I was using Visual Studio with C# and, if you''re
familiar, you just hit run and it works. On Python do I use the
editor for editing only and then run the program from the command
line?


http:// www.google.com/search?q=emacs+python



或者实现类似(更灵活(IMO),但不太顺畅的集成)
$使用Vim和GNU Screen实现b $ b效果。直到最近,如果你想要垂直分割,你必须修补屏幕

,但现在它在主线上。

Or achieve a similar (more flexible (IMO), but less smoothly integrated)
effect with Vim and GNU Screen. Until recently, you had to patch Screen
if you wanted vertical splits, but now it''s in the main line.


3月20,11:21 * am,Grant Edwards< gra ... @ visi.comwrote:
On Mar 20, 11:21*am, Grant Edwards <gra...@visi.comwrote:

2008-03-20,jmDesktop< needin4mat .. 。@ gmail.comwrote:
On 2008-03-20, jmDesktop <needin4mat...@gmail.comwrote:

我正在努力学习Python。 *我使用Aquamac使用mac os x实现了一个emac

的实现。我有一个程序。 *如果我转到

命令提示符并键入pythong myprog.py,它可以正常工作。 *程序是否可以在编辑器中运行,或者不是如何进行开发?

我问,因为我在使用带有C#的Visual Studio,如果你'熟悉,你只需要跑步就可以了。 *在Python上我是否只使用

编辑器进行编辑,然后从命令

line运行程序?
Hi, I''m trying to learn Python. *I using Aquamac an emac
implementation with mac os x. *I have a program. *If I go to the
command prompt and type pythong myprog.py, it works. *Can the program
be run from within the editor or is that not how development is done?
I ask because I was using Visual Studio with C# and, if you''re
familiar, you just hit run and it works. *On Python do I use the
editor for editing only and then run the program from the command
line?


http:// www.google.com/search?q=emacs+python


-

授予


http://www.google.com/search?q=emacs+python

--
Grant



Gee。谢谢。

Gee. Thanks.


这篇关于我可以在emacs中运行python程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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