Can I run a python program from within emacs?

Robinson WanderingAengus at comcast.net
Sun Nov 1 12:16:45 EST 2009


Jason,
Thanks, but I have already tried your suggestions (which seem like  
logical cause/effect actions) and nothing.  There must be a python  
preference or something I haven't set correctly.

There is no Aquamacs list, but I'll check further.

Thanks again for the quick reply.


On Nov 1, 2009, at 9:15 AM, Jason Sewall wrote:

> On Sun, Nov 1, 2009 at 9:20 AM, Robinson  
> <WanderingAengus at comcast.net> wrote:
>> I have also just started with both Aquamacs and Python so I ask for  
>> your
>> patience as well.
>> When I evaluate the buffer (C-c C-C) I don't see any response or  
>> output from
>> my python program. Should another buffer open automatically? Should a
>> terminal window open?
>
> I don't know much about Aquamacs or the version of Emacs the Aquamacs
> you are using is based on, but the C-c C-c command runs
> py-execute-buffer. Try M-x py-execute-buffer <RET> and see what
> happens. It should pop up a *Python Output* buffer, unless you're
> actually running the python interpreter in Emacs, in which case the
> code is run in that buffer.
>
> If you're still having trouble, probably an Emacs or Aquamacs list is
> a better place to look.
>
> Jason




More information about the Python-list mailing list