From: Stack <this_is@madeupaddress.com>
To: help-gnu-emacs@gnu.org
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 [thread overview]
Message-ID: <87y7n7l8ic.fsf@main.mainworld> (raw)
In-Reply-To: 1171026496.713032.169290@v33g2000cwv.googlegroups.com
"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
next prev parent reply other threads:[~2007-02-09 14:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-09 13:08 Writing an interactive function to accept a string argument, then call a Python script? Endless Story
2007-02-09 14:18 ` Stack [this message]
2007-02-10 8:49 ` Kevin Rodgers
[not found] ` <mailman.4285.1171097378.2155.help-gnu-emacs@gnu.org>
2007-02-10 10:57 ` Endless Story
2007-02-13 6:20 ` Kevin Rodgers
[not found] ` <mailman.4406.1171347657.2155.help-gnu-emacs@gnu.org>
2007-02-13 11:21 ` Endless Story
2007-02-14 17:32 ` Edward Dodge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y7n7l8ic.fsf@main.mainworld \
--to=this_is@madeupaddress.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).