Extracting archives of multiple types
<p>Is there any module in <em>Python</em>, which lets me extract a variety of archives? I need to extract <em>zip</em>, <em>tar.bz2</em>, <em>tar.z</em>, <em>rar</em> and others.
Right now it looks like I have to do the archive type detection manually and also to write an extraction for every single one.</p>

<p>Pure <em>Python</em> would be prefered.</p>
