:
encode([encoding[,errors]])
An example:
cur.execute("""
insert into tab(
field1,
field2)
values (?,?)
""" , (myvar1.encode('utf8'),\
myvar2.encode('utf8')))
Bye,
Renzo
--
http://mail.python.org/mailman/listinfo/python-list
Renzo ha scritto:
I've seen that the error is a known bug:
"zipfile still has 2GB boundary bug"
<http://mail.python.org/pipermail/python-dev/2005-April/052887.html>
so I've used the module TarFile instead ZipFile, and now the script
works perfectly.
Thanks to
s
statistic limit
number of files65,536
uncompressed size of a single file 4 GB
compressed size of a single file 4 GB
total size of archive 256 TB
maximum path/filename length64 KB
Have you any idea?
Oh, the O.S. is WinXP Pro
Thank you!.
Renzo
--
http://mail.python.org/mailman/listinfo/python-list