• Could not connect to Twitter

Exercise 1 for the wxPython Image Viewer – adding a Mirror function

So far I’ve shown you how to build a wxPython-based Image Viewer through almost an hour of video. You’ll get a lot more from the series of course if you’re forced to work through some exercises – so here’s the first. In this episode I talk you through adding a Mirror function that will flip the image on the x-axis.

The next episode in the series will show you a fully-worked solution. Next week I’ll test you with adding an HTML-based About box and the week after we’ll finish with a Splash screen.

Previously we’ve covered memory-leaks, Images and StaticBitmaps, StatusBars and FileDialogs in this wxPython tutorial. This series has everything a new wxPython programmer needs to learn the basics of writing their own wx application.

This is one of our subscriber-only tutorials, these build upon our free wxPython tutorials which live with our 184 Python tutorials. The source code for this episode is freely available (they all are) further down the video’s page.

Subscribers get access to 6+ hours of Python tutorials, exercises and walk-throughs with new episodes every week. You can test your knowledge of Python and keep your skills up-to-date through our subscriptions.

Please share:
  • DZone
  • del.icio.us
  • Reddit
  • Furl
  • Ma.gnolia
  • email
  • StumbleUpon
  • Technorati
  • TwitThis
  • Slashdot
If you enjoyed this post, make sure you subscribe to my RSS feed!

Related posts:

  1. Solution 1 – Walk-through of adding the Mirror Image wxPython function
  2. Exercise and Solution 2 – Adding the About box and using HTML in wxPython
  3. Building a wxPython Image Viewer – 8th episode
  4. Menus and Binding for wxPython Image Viewer
  5. wx.FileDialog and CreateStatusBar for our wx Image Viewer

1 comment to Exercise 1 for the wxPython Image Viewer – adding a Mirror function