Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c610ea commit 8105eb3Copy full SHA for 8105eb3
README.md
@@ -18,7 +18,7 @@
18
* [ 深入 Python :Dive Into Python 中文版](http://sebug.net/paper/books/dive-into-python/)
19
* [crossin的编程教室](http://crossin.me/forum.php?mod=forumdisplay&fid=2)
20
* [深入 Python 3](http://sebug.net/paper/books/dive-into-python3/)
21
-* [Python安全](http://sebug.net/paper/books/vulncat/python/)
+* [ython安全](http://sebug.net/paper/books/vulncat/python/)
22
23
### 英文资源
24
* [dive into python](http://www.diveintopython.net/toc/index.html)
exception.py
@@ -0,0 +1,11 @@
1
+#!/usr/bin/python
2
+#coding:utf-8
3
+import sys;
4
+try:
5
+ 1/0;
6
+except :# 所有异常
7
+ print "Unexpected error:", sys.exc_info()[0]
8
+else:
9
+ print 'no except';
10
+finally:
11
+ print 'always excute';
0 commit comments