Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Izkata
on July 25, 2021
|
parent
|
context
|
favorite
| on:
How the Python import system works
Wouldn't this part:
#!/bin/sh "exec" "python3" "-u" "$0" "$@"
Be the same as this?
#!/usr/bin/env python3 -u
globular-toast
on July 25, 2021
[–]
One difference is that parameters in the shebang is non standard and not supported on all OSes. Linux supports it, though.
mixmastamyk
on July 27, 2021
|
parent
[–]
And I think only one. Tripped me up once.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: