Changeset 1876 for trunk/loplug/plugins/input/pginput.py
- Timestamp:
- 03/19/10 15:52:20 (2 years ago)
- File:
-
- 1 edited
-
trunk/loplug/plugins/input/pginput.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/loplug/plugins/input/pginput.py
r1791 r1876 18 18 19 19 import pythoncom 20 import pyHook 20 import sys 21 try: 22 import pyHook 23 except: 24 import traceback 25 exceptionType, exceptionValue, exceptionTraceback = sys.exc_info() 26 msg_a = traceback.format_exception(exceptionType, exceptionValue, exceptionTraceback) 27 msg = "" 28 for m in msg_a: 29 msg += m 30 print "pyHook cannot be loaded\n", msg 31 try: 32 import PyHook as pyHook 33 except: 34 import traceback 35 exceptionType, exceptionValue, exceptionTraceback = sys.exc_info() 36 msg_a = traceback.format_exception(exceptionType, exceptionValue, exceptionTraceback) 37 msg = "" 38 for m in msg_a: 39 msg += m 40 print "PyHook cannot be loaded\n", msg 21 41 import ctypes 22 42 import win32com.client
Note: See TracChangeset
for help on using the changeset viewer.
