Home

Advanced wxPython tutorial

The e-book has 353 pages. It has 92 code examples. Many of the examples are unique; a reader will not find them anywhere else. It is an ideal material for those who already know some basics of wxPython library. Carefully chosen examples always focus on one important aspect. (Unless it is a more complex example.) Buying this e-book you will save a lot of hours searching on the Internet, asking on forums and figuring things on your own. What took the author months and weeks to find out, you will get in days and hours. The e-book is written in plain English.

The code examples were tested on Linux and Windows. Python 2.7 and wxPython 2.9.3 on Windows XP. Python 2.7.3 and wxPython 2.9.4 on Windows 7. Python 2.7.2 and wxPython 2.9.3.1 on Linux. After purchasing the e-book, you will obtain a zip file. With the pdf file, you will also obtain all code examples.

If something goes wrong with the payment process, drop me an email at vronskij(at)gmail.com.

Price

The e-book costs 15 €.

About this tutorial

This is Advanced wxPython e-book. This e-book is a tutorial, which covers several interesting parts of the library.

This e-book covers the following:

The first chapter presents 18 examples for Cairo graphics library. We will work with colours, shapes, gradients. Reflection, star animation, aliens example are among other code examples.

Layout management is considered to be one of the most difficult areas of GUI programming. Writers usually only skim the topic, covering the very basics of it. Based on my experience while writing a complete e-book dedicated to layout management, this chapter was a piece of cake. Once you know the principles behind the process, you can utilize them in other GUI toolkits too. Almost 40 pages and 20 examples, you will learn everything important about layout management.

The third chapter is dedicated to images. In this chapter, we will show how to scale or crop the image. We will create a grayscale image, a watermark or a an application which takes a screenshot.

In the fourth chapter, we will show, how to create three custom widgets. A ProgressMeter widget, a Thermometer widget and a ColourWheel widget.

The fifth chapter covers the advanced widgets. We will have plenty of examples covering the wx.TextCtrl, wx.ListCtrl, wx.TreeCtrl, wx.Grid, and the wx.richtext.RichText.

One of the best ways to learn programming is to create computer games. As a bonus, you will have three simple 2D games: Nibbles, Sokoban, and Minesweeper.

Screenshots

Here you can see some of the screenshots from the e-book.

Images in list control Minesweeper Aliens Thermometer

Sorting tree control Traversing tree control
Windows Reflection
Grayscale

HomeTop of Page