Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: a more general shabang? #19

Open
gmseabra opened this issue Jan 11, 2022 · 1 comment
Open

Suggestion: a more general shabang? #19

gmseabra opened this issue Jan 11, 2022 · 1 comment
Labels

Comments

@gmseabra
Copy link

Hey, thanks for developing this package. It just proved really useful for me :-)

BTW, may I suggest you use "#!/usr/bin/env python" in the shebang? I believe it is more portable.

See: https://stackoverflow.com/questions/6908143/should-i-put-shebang-in-python-scripts-and-what-form-should-it-take

All the best,
G.

@mgedmin
Copy link
Owner

mgedmin commented Jan 12, 2022

Well, ideally you'd use pipx run findimports or pipx install findimports or pip install --user findimports or some other variation where pip takes care of generating the right shebang.

But sure, #!/usr/bin/env python is fine. Or, maybe better, #!/usr/bin/env python3?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants