Can I run a python program from within emacs?

Jeff Schwab jeff at schwabcenter.com
Thu Mar 20 11:28:39 EDT 2008


Grant Edwards wrote:
> On 2008-03-20, jmDesktop <needin4mation at gmail.com> wrote:
> 
>> 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

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.



More information about the Python-list mailing list