Asyncore

2005-01-07 Thread export
Is there any tutorial and docs with samples how to use asyncore module?
Thanks 
Lad

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: MYSQL - how to install ?

2005-02-17 Thread export

Daniel Bowett wrote:
> Lad wrote:
> > I am sorry it was my fault I did not say that clearly.
> >  I do not have a problem to install MySQL  server but I do not know
how
> > to install MySQLdb module on my windowsXP so that I can work  with
> > MySQL server via Python 2.3.
> > Thanks for help
> > Lad
> >
>
> Try this installer, if you want a newer version you will need to
compile
> it yourself.
>
>
http://prdownloads.sourceforge.net/mysql-python/MySQL-python.exe-1.0.0.win32-my4.1-py2.3.exe?download

Thank you I will try. As far as I understand I can install the latest
MySQL server and then MySQLdb module on my windowsXP with the
installer( the link you provided above).
Is it so?
Lad.

-- 
http://mail.python.org/mailman/listinfo/python-list


Watermark on images

2005-02-25 Thread export
Is there a way how to put a watermark on images by using Python?
Lad.

-- 
http://mail.python.org/mailman/listinfo/python-list


A problem with list

2004-12-13 Thread export
The following code
##
import string
MyList=['abc','def']
for i in MyList:
print i
###

works as I expect that is I get
abc
def

but when I have Mylist in a file and I read it from the file it does
not work as I expect.
#
import string
ff=open('C:\\Robotp\\MyFile.txt','r') # read MyList from a file
MyList=ff.read()
for i in MyList:
print i
###
I will get
[
'
a
b
c
'
,
'
d
e
f
'
]

where my MyFile.txt looks like this:
['abc','def']

Where is a problem?
Thanks for help
Lad

-- 
http://mail.python.org/mailman/listinfo/python-list