Steven D'Aprano writes:
> On Wed, 15 Aug 2012 17:57:47 +0100, MRAB wrote:
>
> >> #!/usr/bin/python3
> >> #_*_ coding: latin1 _*_
> >>
> > Aw well as the other replies, the "coding" line should be:
> >
> > #-*- coding: latin1 -*-
>
> I don't believe that actually matters to Python. It may matter
On Wed, 15 Aug 2012 17:57:47 +0100, MRAB wrote:
>> #!/usr/bin/python3
>> #_*_ coding: latin1 _*_
>>
> Aw well as the other replies, the "coding" line should be:
>
> #-*- coding: latin1 -*-
I don't believe that actually matters to Python. It may matter to Emacs
or some other editors, but Python
On 15/08/2012 13:16, Helmut Jarausch wrote:
Hi,
I'm sorry to ask such a FAQ but still I couldn't find an answer - neither in
the docs nor the web.
What's wrong with the following script?
Many thanks for a hint,
Helmut.
#!/usr/bin/python3
#_*_ coding: latin1 _*_
Aw well as the other replies
On Wed, 15 Aug 2012 14:48:40 +0200, Christian Heimes wrote:
> Am 15.08.2012 14:16, schrieb Helmut Jarausch:
>> Hi,
>>
>> I'm sorry to ask such a FAQ but still I couldn't find an answer -
>> neither in the docs nor the web.
>>
>> What's wrong with the following script?
>>
>> Many thanks for a hi
Am 15.08.2012 14:16, schrieb Helmut Jarausch:
> Hi,
>
> I'm sorry to ask such a FAQ but still I couldn't find an answer - neither in
> the docs nor the web.
>
> What's wrong with the following script?
>
> Many thanks for a hint,
> Helmut.
>
> #!/usr/bin/python3
> #_*_ coding: latin1 _*_
>
> i
Hi,
I'm sorry to ask such a FAQ but still I couldn't find an answer - neither in
the docs nor the web.
What's wrong with the following script?
Many thanks for a hint,
Helmut.
#!/usr/bin/python3
#_*_ coding: latin1 _*_
import smtplib
from email.message import Message
import datetime
msg= Mess