Did I find the right examples for you? yes no

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

src/a/p/appscale-HEAD/AppServer/google/appengine/api/images/images_stub.py   appscale(Download)
  from PIL import Image
except ImportError:
  import _imaging
  # Try importing the 'Image' module directly. If that fails, try
  # importing it from the 'PIL' package (this is necessary to also

src/t/a/TACTIC-HEAD/src/pyasm/biz/file.py   TACTIC(Download)
    from PIL import Image
    # Test to see if imaging actually works
    import _imaging
    HAS_PIL = True
except:
    HAS_PIL = False
    try:
        import Image
        # Test to see if imaging actually works
        import _imaging

src/l/a/latimes-appengine-template-0.022/appengine_template/google_appengine/google/appengine/api/images/images_stub.py   latimes-appengine-template(Download)
  from PIL import Image
except ImportError:
  import _imaging
  import Image
 

src/s/p/Spherebot-Host-GUI-HEAD/InkscapePortable/App/Inkscape/python/Lib/site-packages/sk1libs/imaging/Image.py   Spherebot-Host-GUI(Download)
    # them.  Note that other modules should not refer to _imaging
    # directly; import Image and use the Image.core variable instead.
    import _imaging
    core = _imaging
    del _imaging

src/g/o/google-app-engine-HEAD/google/appengine/api/images/images_stub.py   google-app-engine(Download)
  from PIL import Image
except ImportError:
  import _imaging
  # Try importing the 'Image' module directly. If that fails, try
  # importing it from the 'PIL' package (this is necessary to also

src/g/a/gaeframework-2.0.10/google_appengine/google/appengine/api/images/images_stub.py   gaeframework(Download)
  from PIL import Image
except ImportError:
  import _imaging
  import Image
 

src/m/o/MOL-HEAD/lib/google_appengine/google/appengine/api/images/images_stub.py   MOL(Download)
  from PIL import Image
except ImportError:
  import _imaging
  import Image
 

src/l/a/latimes-appengine-template-HEAD/appengine_template/google_appengine/google/appengine/api/images/images_stub.py   latimes-appengine-template(Download)
  from PIL import Image
except ImportError:
  import _imaging
  import Image
 

src/d/a/Darwin-Core-Engine-HEAD/lib/google_appengine/google/appengine/api/images/images_stub.py   Darwin-Core-Engine(Download)
  from PIL import Image
except ImportError:
  import _imaging
  import Image
 

src/s/p/Spatial-Data-Library-HEAD/lib/google_appengine/google/appengine/api/images/images_stub.py   Spatial-Data-Library(Download)
  from PIL import Image
except ImportError:
  import _imaging
  import Image
 

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next