[Tutor] Is there space a between "#!" and "/usr/bin/env python" ?

Steven D'Aprano steve at pearwood.info
Wed May 2 02:22:36 CEST 2012


Santosh Kumar wrote:
> Its getting complicated now. Will it effect or not?
> Give me one word answer with one line description.

No. Either of these are fine:

#! /usr/bin/env python
#!/usr/bin/env python

This is not a Python trick. It will work for Ruby, or Perl, or any other 
language with an interpreter.



-- 
Steven



More information about the Tutor mailing list