Repository navigation
Expand file tree
/
Copy pathpython-programming.html
More file actions
122 lines (112 loc) · 4.88 KB
/
Copy pathpython-programming.html
File metadata and controls
122 lines (112 loc) · 4.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Kochi Python, ">
<title>Python Programming category // Kochi Python // </title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.3.0/pure-min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.1.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../theme/css/pure.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
</head>
<body>
<div class="pure-g-r" id="layout">
<div class="sidebar pure-u">
<div class="cover-img" style=" background-color:#2b5b84; ">
<div class="cover-body">
<header class="header">
<hgroup>
<h1 class="brand-main">
<a href="/">
<img src="/theme/img/python-logo.png" width="100" height="100"></a>
<br/>
<a href="/">Kochi Python</a>
</h1>
<p class="tagline"></p>
<p class="social">
<a href="http://www.meetup.com/KochiPython/" target="_blank">
<i class="fa fa-group fa-1x"></i>
</a>
<a href="https://github.com/KochiPython/" target="_blank">
<i class="fa fa-github fa-1x"></i>
</a>
<a href="https://twitter.com/KochiPython" target="_blank">
<i class="fa fa-twitter-square fa-1x"></i>
</a>
<a href="https://www.facebook.com/groups/kochi-python" target="_blank">
<i class="fa fa-facebook fa-1x"></i>
</a>
<p>
</hgroup>
</header>
</div>
</div>
</div> <div class="pure-u-1">
<div class="content">
<!-- A wrapper for all the blog posts -->
<div class="posts">
<h1 class="content-subhead">
Posts in 'Python Programming' </h1>
<section class="post">
<header class="post-header">
<a href="../author/varghese-chacko.html" title="See posts by Varghese Chacko">
<img class="avatar" alt="Varghese Chacko" src="http://www.gravatar.com/avatar/50bef545cb48aab9f4bf7301627ee6a0">
</a>
<h3><a class="post-title" href="../inheritance-for-better-exception-handling.html">Inheritance for better exception handling</a></h3>
<p class="post-meta"><p>In most programming languages that supports exception handling, the base class for all exceptions are called <code>Exception</code>. Let me explain a scenario I recently used. This article uses Python sample codes.</p></p>
<p class="post-meta">
in <a href="../category/python-programming.html">Python Programming</a> · Tue 25 November 2014
</p>
</header>
</section><div class="pagination-wrapper content-subhead">
<div class="pagination">
<div class="pagination-left">
</div>
<span>Page 1 / 1</span>
<div class="pagination-right">
</div>
</div>
</div><footer class="footer">
<p>© Kochi Python –
Built with <a href="https://github.com/PurePelicanTheme/pure">Pure Theme</a>
for <a href="http://blog.getpelican.com/">Pelican</a> | Powered by <a href="https://pssi.org.in/">Python Software Society of India</a>
</p>
</footer> </div>
</div>
</div>
</div>
<script>
var $top = $('.go-top');
// Show or hide the sticky footer button
$(window).scroll(function() {
if ($(this).scrollTop() > 200) {
$top.fadeIn(200);
} else {
$top.fadeOut(200);
}
});
// Animate the scroll to top
$top.click(function(event) {
event.preventDefault();
$('html, body').animate({scrollTop: 0}, 300);
})
// Makes sure that the href="#" attached to the <a> elements
// don't scroll you back up the page.
$('body').on('click', 'a[href="#"]', function(event) {
event.preventDefault();
});
</script>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-56551965-1");
pageTracker._trackPageview();
} catch(err) {}
</script>
</body>
</html>