Newbie Q: Pythin scripting
Ruud de Rooij
* at spam.ruud.org
Fri Aug 4 11:38:24 EDT 2000
aahz at netcom.com (Aahz Maruch) writes:
> In article <8mefk3$pu2$1 at news1.skynet.be>,
> Dave Van den Eynde <dave at groovbird.com> wrote:
> >
> >Consider me a newbie, but I have the following problem. When I make a script
> >to run under bash, the first line that I make is :
> >
> > #! /usr/bin/python
>
> Don't use a space:
>
> #!/usr/bin/python
$ cat > test.py
#! /usr/bin/python
print "It-Works-For-Me(TM)"
$ chmod +x test.py
$ ./test.py
It-Works-For-Me(TM)
- Ruud de Rooij.
--
ruud de rooij | *@spam.ruud.org | http://ruud.org
More information about the Python-list
mailing list