Edit your code into a file, naming it "grade.py". Put "#!/usr/bin/python" as the first line (using where your python executable is if it's not in /usr/bin). In Terminal, at the command line, type "python grade.py". Make sure it's executable (chmod +x grade.py).
No comments:
Post a Comment