|
|
|
|
|
by cfiggers
733 days ago
|
|
You could have a shim script with the shebang that only exists to call the "real" script using Python. /usr/bin/hello: #!/usr/bin/bash
python3 /usr/bin/hello.py
/usr/bin/hello.py: print("Hello, world!")
Console: $ chmod +x /usr/bin/hello
$ hello
Hello, World!
|
|
Sublime:
VSCODE: