Code: Select all
#!/usr/bin/env python
print "Hello World!"
Code: Select all
#!/usr/bin/env python
print "Hello World!"

Na, I was getting at if you called the script the name of a python extension file. When I started playing with pyserial I had a test script called serial.py and NOTHING would workCharlie. wrote:
Naib - With the exec/hack, the file extension shouldn't matter. (If that's what you're getting at...)