It seems that wxPython is missing “some” examples.
I have the following piece of code that doesn’t work on Windows:
import wx
wx.InitAllImageHandlers() # calling it doesn't make any difference
print wx.Image("sample.bmp") # also tried with type=wx.BITMAP_TYPE_ANY
The returned value is None and I can also see a warning: Warning: No handler found for image type.
I tried to add the second line but it seems that it doesn’t change a thing.
You probably need
wx.Appcreated first.