Changeset 6330
- Timestamp:
- Feb 13, 2009, 11:17:42 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
misc/tools/event_selection/EventSelection.py
r6303 r6330 4 4 ################################################################################ 5 5 6 6 7 import os 7 8 import os.path 8 9 import sys 9 10 import re 10 import glob11 11 import shutil 12 12 import time 13 13 14 import tempfile 14 15 try: … … 20 21 import wx 21 22 except ImportError: 22 print 'Sorry, you have to install WxPython.' 23 print 'Get it from either:' 24 print r' N:\georisk\downloads\event_selection, or' 25 print ' [http://www.wxpython.org/download.php#binaries].' 23 msg = ('Sorry, you have to install WxPython.\n' 24 'Get it from either:\n' 25 r' N:\georisk\downloads\event_selection, or' '\n' 26 ' [http://www.wxpython.org/download.php#binaries].') 27 tkinter_error(msg) 28 print msg 26 29 sys.exit(1) 30 31 27 32 Imported_PyEmbeddedImage = True 28 33 try: … … 1053 1058 app.SetTopWindow(frame) 1054 1059 app.MainLoop() 1060
Note: See TracChangeset
for help on using the changeset viewer.