sh: test: argument expected
Jeremy Fincher
jemfinch at gmail.com
Wed Nov 3 02:53:17 EST 2004
More information about the Python-list mailing list
Wed Nov 3 02:53:17 EST 2004
- Previous message (by thread): sh: test: argument expected
- Next message (by thread): sh: test: argument expected
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Iván Cabria <cabria at fta.uva.es> wrote in message news:<mailman.5832.1099421098.5135.python-list at python.org>... > Hi, > > I am a new user of python. I ran > a python script and I got the > following message: > > sh: test: argument expected > > The first line of the python script is: > #!/usr/bin/env python Check that again, I suspect it's wrong. The error you're getting is the exact error I get when that line isn't correct or isn't present in my python scripts. Run your script as "python <script>" and if you don't get that error, you can be assured that the first line is the problem. Jeremy
- Previous message (by thread): sh: test: argument expected
- Next message (by thread): sh: test: argument expected
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list