On Fri, Jan 29, 2010 at 11:36:58PM +0530, Eknath Venkataramani wrote:
> > I am using UTF-8. But how do I indicate that to the interpretter
> >
> Got it working.
> Did this:
> #!/usr/bin/python
> # -*- coding: UTF-8 -*-

Yup. That is perfect. That emacs-style line declares to the
interpreter that the following python script uses UTF-8 encoding. You
might choose to use other encodings similarly too.


-- 
Senthil
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to