home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyo (Python 2.5)
-
- import wx
- import os
- from gui.native.extensions import *
- from gui.wxextensions import *
-
- def dist(here, there):
- return sum(map((lambda a, b: (a - b) ** 2), here, there)) ** 0.5
-
- wx.Point.DistanceTo = dist
-
- def yes(msg, title = ''):
- return wx.MessageBox(msg, title, wx.YES_NO) == wx.YES
-
-