[PyQt] Write BIG QString
Kermit
stef.kermit at gmail.com
Mon May 18 13:26:59 BST 2009
hi all,
i've a big QString to write in a QFile
i use this syntaxe :
newFile=QFile("newFile.txt")
if not newFile.open(QFile.WriteOnly | QFile.Text):
print "erreur fichier"
else:
newFile.writeData(myStr)
newFile.close()
it's ok when i parse and write a little texte file ( 4Mo ) nut with final
file ( 60 Mo), the file is create but not write
finction return -1 and the file is 0 Ko
thx for your help
Kermit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090518/04fa2ed4/attachment.html
More information about the PyQt
mailing list