Python .elc and /etc/magic
Martin von Loewis
loewis at informatik.hu-berlin.de
Thu Nov 15 06:18:33 EST 2001
Gustavo Niemeyer <niemeyer at conectiva.com> writes:
> We should also have something like that for python:
>
> 0 string/b #!\ /bin/bash Bourne-Again shell script text executable
> 0 string/b #!\ /usr/local/bin/bash Bourne-Again shell script text executable
Why is that necessary?
porthos loewis 24 ( /tmp ) > cat a.py
#! /usr/bin/python
print "Hallo, Welt!"
porthos loewis 25 ( /tmp ) > file a.py
a.py: a /usr/bin/python script text
Regards,
Martin
More information about the Python-list
mailing list