I am guessing that it has a windows-style line ending.
So the first #! line isn't:
#!/usr/bin/python^J
but actually:
#!/usr/bin/python^M^J
Thus the kernel's looking for an executable whose name ends in a carraige return (^M). Naturally it doesn't find it.
You're exactly right.
Works now.
Thanks for the help
sean
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963