wxPython: images from URLs
timr at probo.com
Fri Jan 30 05:24:04 CET 2004
Jonathan Daugherty <cygnus at cprogrammer.org> wrote:
># self._imgstream = urllib2.urlopen(url).read()
>I have tried this and it appears to work, but once I have
>the image (from wxImageFromStream), I use it as follows:
> bm = wxBitmap(img)
>except Exception, e:
> print e
Why wouldn't you use wxBitmapFromImage?
- Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list