Feed on
Posts
Comments

to flush a write buffer in python on filehandle f:

f.flush()

nice and easy …


Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

One Response to “flush write buffer in python”

  1. on 17 Oct 2008 at 10:11 pm Kaolin Fire

    I don’t really do python, but had to look this up right quick–exactly what I needed. Thanks :)

Did I get this wrong? Let me know!

Trackback URI | Comments RSS

More blogs about http://desk.stinkpot.org:8080/tricks.