I wrote a python script and I have copied my file (verification.p y) into my http directory. However, when I try to run the script I get many errors...
I am not sure why I am getting these errors because when I run the script in Python it works fine.
Thanks!
Code:
..
: No such file or directoryline 1: #!/usr/bin/python
: command not foundect.py: line 3:
./Verification_Project.py: line 4: from: command not found
: command not foundect.py: line 5:
./Verification_Project.py: line 6: from: command not found
import: unable to open X server `'.
import: unable to open X server `'.
import: unable to open X server `'.
import: unable to open X server `'.
import: unable to open X server `'.
import: unable to open X server `'.
import: unable to open X server `'.
import: unable to open X server `'.
./Verification_Project.py: line 15: from: command not found
import: unable to open X server `'.
: command not foundect.py: line 19:
./Verification_Project.py: line 20: syntax error near unexpected token `('
'/Verification_Project.py: line 20: `today = datetime.date.today()
..
Thanks!
Comment