def __init__(self):
''' MacOS X initialisations. '''
coregraphics = find_library('CoreGraphics')
if not coregraphics:
raise ScreenshotError('No CoreGraphics library found.')
self.core = cdll.LoadLibrary(coregraphics)
self._set_argtypes()
self._set_restypes()
评论列表
文章目录