[Twisted-Python] Twisted with PyQt

glyph at divmod.com glyph at divmod.com
Wed Dec 3 09:05:11 EST 2008

On 11:13 am, adigeaydin at gmail.com wrote:
>Actuallly i solved my problem but i have another one. I am sending file 
>while loop, as you said before it doesnt send data pyhshically, i am
>updating my progressBar in while loop, so the progressBar is being 
>before data being sent..
>Is there any signal that self.transport.write() creates when data 
>sent? May be i can update my progressBar with that signal..

Sort of.  You shouldn't call transport.write() in a loop, you should 
register a producer for the transport and call transport.write when it's 
ready.  Documentation is here: 

More information about the Twisted-Python mailing list