Yes, 'some data'.decode('utf8').encode('windows-1250')
works great.
Thanks
L.B.
--
http://mail.python.org/mailman/listinfo/python-list
Pythonwin is not good,if you use non Ascii characters.I had to moved to
Jedit.
L.B
--
http://mail.python.org/mailman/listinfo/python-list
Can anyone give an example how to send email with non-ascii characters(
both in subject and body).
I would like to use windows-1250 code page
Thank you
L.B.
--
http://mail.python.org/mailman/listinfo/python-list
Sybren,
and can give me an example of Python code that can send such email??
--
http://mail.python.org/mailman/listinfo/python-list
Finally I have the working version,It looks like this
#
from email.Message import Message
from email.MIMEText import MIMEText
from email.Header import Header
import smtplib
msg = Message()
Body='Rídících Márinka a kolák Kája
Marík'.decode('utf8').encode('windows-1250')# I use the text
Hello ,
Is there an ICQ module? I would like to send a message to users in my
contact list, check if a user is online etc.
Is there a support in Python?
Thanks
L.B
--
http://mail.python.org/mailman/listinfo/python-list
How can I run external program from Python?
I use Python with XP
Thank you for help
LB
--
http://mail.python.org/mailman/listinfo/python-list
Gary Herron wrote:
> Lad wrote:
> > How can I run external program from Python?
> > I use Python with XP
> > Thank you for help
> > LB
> >
> >
> The subprocess module is what you want for this.
>
> It's got ways of running external executables
What is a good way to read binary data from HUGE file and write it
to another file?
Thanks for help
La.
--
http://mail.python.org/mailman/listinfo/python-list
I use Python 2.3.
I have heard about decorators in Python 2.4.
What is the decorator useful for?
Thanks for reply
L.
--
http://mail.python.org/mailman/listinfo/python-list
I use datetime class in my program and now
I have two fields that have the datetime format like this
datetime.datetime(2006, 5, 24, 16, 1, 26)
How can I find out the date/time difference ( in days) of such two
fields?
Thank you for help?
L
--
http://mail.python.org/mailman/listinfo/python-lis
How can I covert in Python a variable of a long type to variable of
Integer type?
Thank you for reply
L.
--
http://mail.python.org/mailman/listinfo/python-list
101 - 112 of 112 matches
Mail list logo