On Sun, 12 Apr 2009 06:09:52 Wayne Watson wrote: > import PIL > import PIL.Image as Image > > img=Image.open('white dragon.png') > > (By the way, is "import Image" depreciated? it should be.)
There's no value in importing a module and renaming it to the same name. Your second import statement should look like this: from PIL import Image HTH, Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Room 2.63, Quad Block A Building Massey University, Auckland, Albany Private Bag 102 904, North Shore Mail Centre voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 eMail: g.kl...@massey.ac.nz http://iims.massey.ac.nz _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig