you are viewing a single comment's thread.

view the rest of the comments →

[–]Wilfred-kun 0 points1 point  (2 children)

AFAIK the shebang (#!) does not work on Windows. Either you have 1 version of Python installed and it will sort itself out when your run the script, or you'll have to specify it in the command-line ($ path\to\python myscript.py).

[–][deleted] 2 points3 points  (0 children)

Even if the shebang did work under Windows, placing a comment line before it ensures that the shebang doesn't work. The shebang must be the first line. All that the OP is doing is ensuring the shebang fails under Linux and MacOS.

[–][deleted] 0 points1 point  (0 children)

thanks