Problem with import

I am relatively new at Python and just starting wxPython. I tried to
do the example on pg49 of wxPythn in Action book. Up to now everything
has worked fine but the "import images" keeps giving me an error "No
module named images". I searched through the directories and couldn't
find a module with a method called "getNewBitmap()".
Is there more that I need to download to get this to work? Thanks for
any help.

That module is included with the book's example source code. You can get it at wxPython in Action, or the books example code is also included in the wxPython demo and samples tarball at
Redirecting...

···

On 3/9/10 5:11 PM, kovalensky wrote:

I am relatively new at Python and just starting wxPython. I tried to
do the example on pg49 of wxPythn in Action book. Up to now everything
has worked fine but the "import images" keeps giving me an error "No
module named images". I searched through the directories and couldn't
find a module with a method called "getNewBitmap()".
Is there more that I need to download to get this to work? Thanks for
any help.

--
Robin Dunn
Software Craftsman

Thanks much.

···

On Tue, Mar 9, 2010 at 5:20 PM, Robin Dunn robin@alldunn.com wrote:

On 3/9/10 5:11 PM, kovalensky wrote:

I am relatively new at Python and just starting wxPython. I tried to
do the example on pg49 of wxPythn in Action book. Up to now everything

has worked fine but the “import images” keeps giving me an error “No
module named images”. I searched through the directories and couldn’t
find a module with a method called “getNewBitmap()”.

Is there more that I need to download to get this to work? Thanks for
any help.

That module is included with the book’s example source code. You can get it at http://www.manning.com/rappin/, or the books example code is also included in the wxPython demo and samples tarball at

http://wxpython.org/download.php


Robin Dunn
Software Craftsman
http://wxPython.org


To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en