that line is called shebang. It is used only when you want to execute your script from command prompt without using python command in front of it. For that you need to make it executable.
In IDLE it doesn't matter.
you can see https://www.python.org/dev/peps/pep-0394/ for some recommendations what shebang to use.
also https://stackoverflow.com/q/6908143/4046632
For time being you can safely leave your scripts without one. I personally prefer to explicitly invoke the respective python and almost never use shebang
In IDLE it doesn't matter.
you can see https://www.python.org/dev/peps/pep-0394/ for some recommendations what shebang to use.
also https://stackoverflow.com/q/6908143/4046632
For time being you can safely leave your scripts without one. I personally prefer to explicitly invoke the respective python and almost never use shebang
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs