Re: [Python] Hashbang error

2010-06-01 Thread Chris Gonnerman
pradeepbpin wrote: I use gVim as an editor to create python scripts on a windows machine. To run the same script on my ubuntu machine, I added a hashbang line to the script. Now when I run this script from command line of ubuntu, I get a bad interpreter error, like below /usr/bin/python^M: bad i

Re: Hashbang error

2010-06-01 Thread Rebelo
On 06/01/2010 12:56 PM, pradeepbpin wrote: I use gVim as an editor to create python scripts on a windows machine. To run the same script on my ubuntu machine, I added a hashbang line to the script. Now when I run this script from command line of ubuntu, I get a bad interpreter error, like below

Re: Hashbang error

2010-06-01 Thread Cameron Simpson
On 01Jun2010 03:56, pradeepbpin wrote: | I use gVim as an editor to create python scripts on a windows machine. | To run the same script on my ubuntu machine, I added a hashbang line | to the script. Now when I run this script from command line of ubuntu, | I get a bad interpreter error, like belo

Hashbang error

2010-06-01 Thread pradeepbpin
I use gVim as an editor to create python scripts on a windows machine. To run the same script on my ubuntu machine, I added a hashbang line to the script. Now when I run this script from command line of ubuntu, I get a bad interpreter error, like below /usr/bin/python^M: bad interpreter: No such f