Tony Cappellini wrote:
> In Windows XP, after a program has completed it's execution in a cmd
> console...
> Is there a way to *programmatically* capture the text that is in the
> scrollback buffer?
>
> I usually set my buffers to 10K lines or more, so there is a lot of text I'd
> like to capture.
> I want to do this programmatically, as opposed to using a mouse to mark and
> copy.
>
>
> thanks
The win32console module contains functions to read directly from a console
buffer.
You can also use it to dynamically resize the output buffer.
Roger
_______________________________________________
Python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32