sh: test: argument expected

Iván Cabria cabria at
Fri Nov 5 16:11:34 CET 2004

I have run the script using "python" and the error does    
not go away. I got the same error: 
sh: test: argument expected 
I have checked again that the first line of the python script is   
#!/usr/bin/env python   
There are no blank lines or empty spaces before    
#!/usr/bin/env python   
I also did "grep loginname /etc/passwd" to confirm I was using bash, and the  
line I got ended with   

More information about the Python-list mailing list