[Tutor] Confusion with Python, Bash and Command Prompt

Steven D'Aprano steve at pearwood.info
Fri Aug 10 10:44:10 CEST 2012


On 10/08/12 15:35, Modulok wrote:
> ...
>> My Question:
>> Is it true that doing that is as same as doing #!/usr/bin/env python
>> on Unix? Because I think that the matter of shebang is limited to Bash
>> and Windows don't have a bash, it has a Command Prompt. And I don't
>> think such thing happens in Windows.
>
> It has nothing directly do with bash. It has to do with the operating system's
> 'program loader'.

Correction noted, thank you.


-- 
Steven


More information about the Tutor mailing list