Did I find the right examples for you? yes no

All Samples(4)  |  Call(0)  |  Derive(0)  |  Import(4)

src/s/p/Spherebot-Host-GUI-HEAD/InkscapePortable/App/Inkscape/python/Lib/site-packages/sk1libs/imaging/ImageCms.py   Spherebot-Host-GUI(Download)
def get_display_profile(handle=None):
    import sys
    if sys.platform == "win32":
        import ImageWin
        if isinstance(handle, ImageWin.HDC):

src/p/o/pombo-HEAD/windows/python/Lib/site-packages/PIL/ImageCms.py   pombo(Download)
def get_display_profile(handle=None):
    import sys
    if sys.platform == "win32":
        import ImageWin
        if isinstance(handle, ImageWin.HDC):

src/n/u/nupic-linux64-HEAD/lib64/python2.6/site-packages/PIL/ImageCms.py   nupic-linux64(Download)
def get_display_profile(handle=None):
    import sys
    if sys.platform == "win32":
        import ImageWin
        if isinstance(handle, ImageWin.HDC):

src/w/e/webGobbler-HEAD/wgwin32screensaver.py   webGobbler(Download)
 
try:
    import ImageWin
except ImportError:
    raise ImportError, "The ImageWin module of the library PIL (Python Imaging Library) is required for module wgwin32screensaver. See http://www.pythonware.com/products/pil/"