Screen Scraping for Modern Applications?
Daniel Nogradi
nogradi at gmail.com
Mon Jun 12 02:23:35 EDT 2006
> > Scrape means simply scraping pixel colors from locations on the screen.
> > I'll worry about assembling it into meaningful information.
>
> import ImageGrab
> im = ImageGrab.grab()
> v = im.getpixel((x, y))
>
> requires:
>
> http://www.pythonware.com/products/pil/
>
> </F>
##
# (New in 1.1.3) The <b>ImageGrab</b> module can be used to copy
# the contents of the screen to a PIL image memory.
# <p>
# The current version works on Windows only.</p>
#
How about doing the same on linux?
More information about the Python-list
mailing list