On Mon, 18 May 2009 14:26:59 +0200, Kermit wrote:

> 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

Is there enough space on the device for the file?

David

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to