problem executing python scripts in cygwin bash shell
Tim Roberts
timr at probo.com
Mon Apr 9 01:15:45 EDT 2001
"Tom Satter" <tsatter at purecode.com> wrote:
>
>I like to use the following for my python scripts since
>this works on Cygwin, MKS, Linux, and Solaris...
I think you used the wrong verb here. I could believe "I am forced to
use..." or "I have resigned myself to using...", but certainly not "I
*LIKE* to use..."!
>#!/bin/sh
>"""true" -*- python -*-
>exec python -tt `echo $0 | sed -e 's@\\\\@/@g' -e
>'s@^/cygdrive/\([a-zA-Z]\)/@\1:/@' -e 's@^//\([a-zA-Z]\)/@\1:/@'` ${1+"$@"}
>
>Script Comment goes here...
>
>"""
>Put the script here...
--
- Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list