While running a file entitled shuf.py
in the linux environment, I run into this following error
./shuf.py -e cats and dogs
-bash: ./shuf.py: /usr/bin/python^M: bad interpreter: No such file or directory
But when i do the same thing as below, it works fine
python shuf.py -e cats and dogs
I appended my PATH so that it is correct and the first line of my code is
#!/usr/bin/python
I'm not sure what the problem is?