Hacker News new | ask | show | jobs
by cgriswald 733 days ago
You can run /usr/bin/nohtyp hello.py even on a script with a shebang specifying a different executable.

To remove the .py just rename the file to “hello”, or keep “hello.py” and create a symlink or a shell alias called “hello” that points to it.