findimports
findimports copied to clipboard
Suggestion: a more general shabang?
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.
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
?