def get_pil_version():
    try:
        __import__('PIL', fromlist=[str('Image')])
        return (0,)
    except ImportError:
        return None
Draws the input cursor directly onto the self._surfaceobj Surface object, if self._inputcursormode is not None.
dataset/ETHPy150Open beetbox/beets/beets/util/artresizer.py/get_pil_version--crossover with--dataset/ETHPy150Open asweigart/pygcurse/pygcurse/__init__.py/PygcurseSurface._drawinputcursor