捕获异常

pull/23/head
wenxianping 2018-01-13 10:08:59 +08:00
parent 1ce2f7719e
commit a3f88212d0
2 changed files with 2 additions and 0 deletions

View File

@ -627,6 +627,8 @@ class select:
print(e.message)
except KeyError as e:
print(e.message)
except TabError as e:
print(e.message)
except socket.error as e:
print(e.message)

BIN
tkcode

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 11 KiB