Hello Saverio,

Am Wed, 14 Feb 2018 21:43:46 +0100
schrieb Saverio Proto <ziopr...@gmail.com>:

> Add something like:
> 
> #!/usr/bin/env python
> 
> at the first line of your python script

in this specific case it is not relevant, since he is calling the interpreter
with the script filename as an argument ("python /root/hello.py"). But it would
be necessary if he just called the script without specifying the interpreter
(e.g. "/root/hello.py").

Anyway: a shebang is surely always a good thing for scripts.

Cheers,
Lars
_______________________________________________
openwrt-users mailing list
openwrt-users@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to