[Tutor] How does # -*- coding: utf-8 -*- work?

2013-01-26 Thread Santosh Kumar
Everything starting with hash character in Python is comment and is not interpreted by the interpreter. So how does that works? Give me full explanation. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options:

Re: [Tutor] How does # -*- coding: utf-8 -*- work?

2013-01-26 Thread Joel Goldstick
On Sat, Jan 26, 2013 at 11:38 AM, Santosh Kumar sntshkm...@gmail.comwrote: Everything starting with hash character in Python is comment and is not interpreted by the interpreter. So how does that works? Give me full explanation. If you google you get this:

Re: [Tutor] How does # -*- coding: utf-8 -*- work?

2013-01-26 Thread eryksun
On Sat, Jan 26, 2013 at 11:38 AM, Santosh Kumar sntshkm...@gmail.com wrote: Everything starting with hash character in Python is comment and is not interpreted by the interpreter. So how does that works? Give me full explanation. The encoding declaration is parsed in the process of compiling