the opposite of
if __name__=="__main__"
(python)
is
#!/usr/bin/echo stop running this as a script
(*nix)
the opposite of
if __name__=="__main__"
(python)
is
#!/usr/bin/echo stop running this as a script
(*nix)
Ohhh, what would be the easiest way to make it also return an error code to make the parent script halt (if it at least checks that or the right things are set)?