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

Alan Gauld alan.gauld at btinternet.com
Wed May 2 02:19:11 CEST 2012

On 02/05/12 01:02, Santosh Kumar wrote:
> Its getting complicated now. Will it effect or not?
> Give me one word answer with one line description.


It depends what OS you are on, but you didn't say.

If its Windows the line makes no difference.
If it's Unix it depends on the variety, but usually no space is needed.

Search shebang on wikipedia.

Alan G
Author of the Learn to Program web site

More information about the Tutor mailing list