13.07.2015 Views

The wxPython tutorial

The wxPython tutorial

The wxPython tutorial

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>The</strong> Graphics Device Interfacehttp://www.zetcode.com/wxpython/gdi/dc.DrawRectangleRect(rect)dc.DestroyClippingRegion()app = wx.App()Operations(None, -1, 'Operations')app.MainLoop()Figure: Set operations on RegionsM A P P I N G M OD E SSpeak in English, measure in Metric<strong>The</strong> English language became the global language forcommunication. So did the metric system become the globalsystem in measuremet. According to this wikipedia article,there are only three exceptions. <strong>The</strong> USA, Liberia andMyanmar. For example, Americans use Fahrenheits tomeasure temperature, gallons to tank their cars or pounds toweigh loads.This might lead to some funny situations."It is very hot today. What is the temperature?""Let me see. It is one hundred and ,wait one hundred and ..."?!?!"... five Fahrenheits.""Aha."(When I was in US talking to an American)Even though we in Europe use the metric system, there are31 de 44 27/04/2008 1:08

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!