unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Best way to run python code within Emacs?
@ 2008-12-10 22:07 seberino
  2008-12-10 23:07 ` Ian Eure
  2008-12-11 10:49 ` Richard Riley
  0 siblings, 2 replies; 4+ messages in thread
From: seberino @ 2008-12-10 22:07 UTC (permalink / raw)
  To: help-gnu-emacs

I know how to start a shell in Emacs and from there start the Python
interpreter in Emacs.

Is there a better/faster way to run Python code I'm working on?

Chris


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Best way to run python code within Emacs?
  2008-12-10 22:07 Best way to run python code within Emacs? seberino
@ 2008-12-10 23:07 ` Ian Eure
  2008-12-11  6:09   ` Kevin Rodgers
  2008-12-11 10:49 ` Richard Riley
  1 sibling, 1 reply; 4+ messages in thread
From: Ian Eure @ 2008-12-10 23:07 UTC (permalink / raw)
  To: seberino; +Cc: help-gnu-emacs

On Dec 10, 2008, at 2:07 PM, seberino@spawar.navy.mil wrote:

> I know how to start a shell in Emacs and from there start the Python
> interpreter in Emacs.
>
> Is there a better/faster way to run Python code I'm working on?
>

'run-python
'python-send-region-and-go
etc. Hit C-h b while in python-mode to see what's available. (Search  
down for 'major mode bindings')

  - Ian




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Best way to run python code within Emacs?
  2008-12-10 23:07 ` Ian Eure
@ 2008-12-11  6:09   ` Kevin Rodgers
  0 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2008-12-11  6:09 UTC (permalink / raw)
  To: help-gnu-emacs

Ian Eure wrote:
> On Dec 10, 2008, at 2:07 PM, seberino@spawar.navy.mil wrote:
> 
>> I know how to start a shell in Emacs and from there start the Python
>> interpreter in Emacs.
>>
>> Is there a better/faster way to run Python code I'm working on?
>>
> 
> 'run-python
> 'python-send-region-and-go
> etc. Hit C-h b while in python-mode to see what's available. (Search 
> down for 'major mode bindings')

To run other interpreters for which there is no specialized support,
try:

http://www.emacswiki.org/cgi-bin/emacs/defshell.el

-- 
Kevin Rodgers
Denver, Colorado, USA





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Best way to run python code within Emacs?
  2008-12-10 22:07 Best way to run python code within Emacs? seberino
  2008-12-10 23:07 ` Ian Eure
@ 2008-12-11 10:49 ` Richard Riley
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Riley @ 2008-12-11 10:49 UTC (permalink / raw)
  To: help-gnu-emacs

"seberino@spawar.navy.mil" <seberino@spawar.navy.mil> writes:

> I know how to start a shell in Emacs and from there start the Python
> interpreter in Emacs.
>
> Is there a better/faster way to run Python code I'm working on?
>
> Chris

http://www.emacswiki.org/emacs/PythonMode#toc10

Not Emacs 23 specific I expect. But all the info you need is there I
think. Means knowing about paths and locating necessary packages though.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-12-11 10:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-10 22:07 Best way to run python code within Emacs? seberino
2008-12-10 23:07 ` Ian Eure
2008-12-11  6:09   ` Kevin Rodgers
2008-12-11 10:49 ` Richard Riley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).