home *** CD-ROM | disk | FTP | other *** search
Wrap
# Source Generated with Decompyle++ # File: in.pyo (Python 2.5) import wx import sys from logging import getLogger log = getLogger('Not Implemented') def notImplemented(): caller_info = sys._getframe(1).f_code notImplMessage = 'Unimplemented function. Function %s at line %d of file %s' % (caller_info.co_name, caller_info.co_firstlineno, caller_info.co_filename) if getattr(sys, 'notImplementedIsError', False): raise NotImplementedError(notImplMessage) else: log.error(notImplMessage) def getPlatformDir(): if 'wxMSW' in wx.PlatformInfo: return 'win' elif 'wxMac' in wx.PlatformInfo: return 'mac' elif 'wxGTK' in wx.PlatformInfo: return 'gtk' else: notImplemented() def extendStdPaths(): exec 'import %s.%spaths' % (getPlatformDir(), getPlatformDir()) if 'wxMSW' in wx.PlatformInfo: def lower_memory_footprint(): import win.process as win win.process.page_out_ram() from memfootprint import memory_event else: def lower_memory_footprint(): pass def memory_event(): pass exec 'from %s import *' % getPlatformDir()