Gathering screen output
Fredrik Lundh
fredrik at pythonware.com
Thu Mar 9 00:09:37 EST 2006
Greg Lindstrom wrote:
> I'm running Python 2.4 on windows xp "professional" and seem to recall there
> is a way to kick off system command (or any external routine) and then
> collect the screen output back into the calling python routine for
> analysis. I've look and googled but have come up lacking. Please tell me
> this is not a flashback to my days coding with another "P" language...
the Python Imaging Library
http://www.pythonware.com/products/pil
has an ImageGrab module that can do exactly this:
http://www.pythonware.com/library/pil/handbook/imagegrab.htm
</F>
More information about the Python-list
mailing list