Nov-09-2020, 07:12 AM
Well, no, you don't really have to use the shebang even on Linux. On both systems you can just run the script with
python
(or python3
if that's what the executable is called), i.e. if your script is foo.py
, python foo.py
should work.