help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writing an interactive function to accept a string argument, then ca


From: Stack
Subject: Re: Writing an interactive function to accept a string argument, then call a Python script?
Date: Fri, 09 Feb 2007 14:18:19 +0000
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux)

"Endless Story" <usable.thought@gmail.com> writes:

> 1) In the minibuffer, prompt me for a string to enter.
> 2) Feed the string as the sole argument to the Python script (let's
> say it's at /home/me/myscript.py).
> 3) Display the return value in the minibuffer

Try M-x shell-command

Cheers,
Stack
-- 
"This is no longer a slum neighbourhood. I haven't heard of a Cubs fan
being shot in a long time."
- Anonymous Wrigley Field Neighbour, Chicago, IL


reply via email to

[Prev in Thread] Current Thread [Next in Thread]