Jack Uretsky wrote:
I think I understood your use of periods. Here's my most recent attempt, resulting in a "'module' object is not callable" error.

read the error message carefully, and also read the notes to this list carefully -- I'm pretty someone already suggested a fix for this:

               bmp = wx("a_4.jpg", wx.BITMAP_TYPE_ANY.ConvertToBitmap()

that's trying to call the "wx' module, which, as the error says in not callable. I think you want:

       bmp = wx.Image("a_4.jpg", wx.BITMAP_TYPE_ANY).ConvertToBitmap()

though it would be easier to do:

      bmp. wx.Bitmap("a_4.jpg")

(untested)

-Chris



--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

chris.bar...@noaa.gov
_______________________________________________
Image-SIG maillist  -  Image-SIG@python.org
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to