Re: Getting the number of bytes printed so far?
"Jonathan Ellis" <[email protected]>
| Newsgroups | gmane.comp.python.spyce.general |
|---|---|
| Message-ID | <[email protected]> |
I don't think bytes-written is explicitly tracked anywhere; your solution is probably the best. (But I don't think it will work if you call response.unbuffer().) -Jonathan On Thu, 30 Mar 2006 11:48:35 -0500, "Philip Semanchuk" <[email protected]> said: > Hi all, > Is there a way to tell how many bytes one has written to the output > stream? I found that this will work but it is reaching into Spyce's > private bits and that seems like fragile code for me to write. > > <p>[[=response._response.out.buf.tell()]] characters printed so far.</p> -- C++ is history repeated as tragedy. Java is history repeated as farce. --Scott McKay ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642