What meaning is of '#!python'?

Michael Torrie torriem at gmail.com
Sat Nov 14 21:28:19 EST 2015


On 11/14/2015 06:54 PM, fl wrote:
> Hi,
> 
> I see an example Python code has such a line at the file beginning:
> 
> #!python
> 
> 
> Is there some meaning about it?

Supposed to be, yes, but the line you've pasted there wouldn't work on
any system I know of.

https://en.wikipedia.org/wiki/Shebang_%28Unix%29




More information about the Python-list mailing list