Make an exe which extracts multiple files
<p>I want to make an executable file which will extract multiple files into a specific location. 
I've read about the 'extractall()' function, and using unzip, but how do I contain the multiple files inside the executable python file, so each time the user double click the exe file, it will extract these files into the hard coded location?</p>

<p>Be aware that your archive will be (in most part) platform-specific -- it may not work on <code>Windows</code> if you make it on a <code>Unix-like</code> machine and vice versa, etc.</p>

<p>I would recommend that you check this <code>pymakeself</code> which is a pypi <a href="https://pypi.python.org/pypi/pymakeself" rel="nofollow">https://pypi.python.org/pypi/pymakeself</a></p>

<p>In fact, you may find the following codes immediately relevant.</p>

<p><strong>Self Extracting Archiver (Python recipe):</strong> <a href="http://code.activestate.com/recipes/577485-self-extracting-archiver/" rel="nofollow">http://code.activestate.com/recipes/577485-self-extracting-archiver/</a></p>

<p><strong>Build a compressed self-extracting executable script on UNIX (Python recipe):</strong> <a href="http://code.activestate.com/recipes/497000-build-a-compressed-self-extracting-executable-scri/" rel="nofollow">http://code.activestate.com/recipes/497000-build-a-compressed-self-extracting-executable-scri/</a></p>

python zip executable