Can i use this script as a python evaluator?
Peter Wang
peterwang at vip.qq.com
Mon Oct 20 11:42:36 EDT 2008
More information about the Python-list mailing list
Mon Oct 20 11:42:36 EDT 2008
- Previous message (by thread): 13 yr old girls - Free Video
- Next message (by thread): Can i use this script as a python evaluator?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
<code> #! /bin/sh python -c "import sys;exec(sys.stdin)" </code> Emacs has a function `shell-command-on-region', which takes region as input for the evaluator (script above), and output its result. I have tried and found it works, is there any problems for this, or any other better solution for it? Thanks.
- Previous message (by thread): 13 yr old girls - Free Video
- Next message (by thread): Can i use this script as a python evaluator?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list