Python shebang line [duplicate]
问题 This question already has answers here : Why do people write the #!/usr/bin/env python shebang on the first line of a Python script? (20 answers) Closed last year . i've seen some people write their shebang line with a space after env. Eg. #!/usr/bin/env python Is this a typo? I don't ever use a space. I use #!/usr/bin/env/python Can someone please clarify this? 回答1: No it isn't a typo! The one you are using will not work on all os's. E.G. in my Ubuntu Linux implementation 'env' is a program