-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.xml
More file actions
31 lines (27 loc) · 2.4 KB
/
index.xml
File metadata and controls
31 lines (27 loc) · 2.4 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
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Arnav Khare</title>
<link>http://arnavk.org/</link>
<description>Recent content on Arnav Khare</description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Sun, 15 Oct 2017 00:00:00 +0000</lastBuildDate><atom:link href="http://arnavk.org/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Useful Executable Modules in the Python Standard Library</title>
<link>http://arnavk.org/posts/python-executable-modules/</link>
<pubDate>Sun, 15 Oct 2017 00:00:00 +0000</pubDate>
<guid>http://arnavk.org/posts/python-executable-modules/</guid>
<description>Python comes with many handy tools that can make our lives as developers or sysadmins easier. These tools are in the form of modules and libraries that are also executable. Many of these tools are known, but not all are as well known as they should be. I will mention a few useful tools that I have found in this post.
How to write an executable Python script First, for beginners, a quick introduction to how to write executable scripts in Python.</description>
</item>
<item>
<title>Python in the real world: Context Managers</title>
<link>http://arnavk.org/posts/python-context-managers/</link>
<pubDate>Sat, 20 Feb 2016 00:00:00 +0000</pubDate>
<guid>http://arnavk.org/posts/python-context-managers/</guid>
<description><p>Context Managers are one of the core language features that make Python unique. The <code>with</code> statement allows developers to write a common programming pattern in a concise and readable way. The following indented block gives a visual cue and make understanding the code easier. Understanding Context Managers is key to understanding the idea of <em>Pythonic</em> code.</p>
<p>Context Managers are usually used for allocation and releasing of resources, but that is not their only use-case. They are useful for factoring out common setup and teardown code, or any pair of operations that need to be performed before or after a procedure.</p>
<p>In this article, I will present some interesting real-world examples of their use, and hopefully encourage budding Pythonistas to explore them.</p></description>
</item>
</channel>
</rss>