[Pywikipedia-l] Question about the first two lines

Bináris wikiposta at gmail.com
Wed Sep 22 08:07:20 UTC 2010


The first line of pywki moduls is:
#!/usr/bin/python
Elsewhere I see #! /usr/bin/env/python, and (as far as I remember) this is
stated at docs.python.org, too. What is the difference? Forgive me this
question, I am a Windows-user. Is it just a user habit, where do you put
your Python? Is any of these more canonical?

The second line is usually:
# -*- coding: utf-8  -*-
Elsewhere I see
#coding: utf-8
Is there any difference?

-- 
Bináris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikimedia.org/pipermail/pywikipedia-l/attachments/20100922/898b6ced/attachment.htm 


More information about the Pywikipedia-l mailing list