version() abuse! Note of library writers.

Anders F Björklund afb at algonet.se
Wed Nov 18 10:50:29 PST 2009


grauzone wrote:
>> PS. Some people even think that /usr/bin/python exists. :-)
>>     Guess they were confusing it with standard /usr/bin/perl
> 
> What else should you use for Python scripts?

#!/usr/bin/env python, or be prepared that it might
be installed in /usr/local/bin/python or something.

--anders



More information about the Digitalmars-d mailing list