How to make "#!" portable to different systems which have python installed at different locations?
My script has this at the first line: #!/usr/bin/python3.6 But in different system python3.6 is installed at different locations, such as: /user/bin/python3.6 /tools/bin/python3.6 /user/local/bin/python3.6 How can I make my script good at the these 3 systems?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.