Re: Getting the number of bytes printed so far?

Philip Semanchuk <[email protected]>
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
On Mar 30, 2006, at 11:54 AM, Jonathan Ellis wrote:

> 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().)

Yeah, I thought it was a strange thing to want. =) But one never knows  
if one doesn't ask.

Thanks
Philip


> 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
> _______________________________________________
> Spyce-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/spyce-users
>
>



-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.