Wow, I haven't heard of pathlib [1] before now, but it looks awesome! In particular, using the slash operator to join paths is brilliant.<p><pre><code> >>> p = PurePath('/etc')
>>> p / 'init.d' / 'apache2'
PurePosixPath('/etc/init.d/apache2')
</code></pre>
[1]: <a href="http://docs.python.org/3.4/library/pathlib.html" rel="nofollow">http://docs.python.org/3.4/library/pathlib.html</a>