Color of a screen pixel: Difference between revisions

Content added Content deleted
(→‎{{header|Python}}: added pywin32 version)
Line 101: Line 101:


print get_pixel_colour(0, 0)</lang>
print get_pixel_colour(0, 0)</lang>
{{libheader|pywin32}}
{{libheader|PyWin32}}
<lang python>def get_pixel_colour(i_x, i_y):
<lang python>def get_pixel_colour(i_x, i_y):
import win32gui
import win32gui