Python Error : File

Python Error : File

>>> python

You are trying to run your script from within a python interpreter. You dont want to do that.

Instead, just run that command in a terminal, not in the interpreter

$ python

If you are still in the interpreter, you can press ctrl+d to leave it and return to the normal terminal

Exit python interpreter by typing exit() or press Crtl+Z

You will see the terminal now.

Type python to run the code.

Happy coding!!!

Python Error : File

Try type


return; then



Leave a Reply

Your email address will not be published. Required fields are marked *