Categories
Posts

Python EXecutable

What happens when you combine Python executing __main__.py and zip files? You get pex ( Python EXecutable ):

pex is a library for generating .pex (Python EXecutable) files which are executable Python environments in the spirit of virtualenvs. pex is an expansion upon the ideas outlined in PEP 441 and makes the deployment of Python applications as simple as cp. pex files may even include multiple platform-specific Python distributions, meaning that a single pex file can be portable across Linux and OS X.

Brian Wickman covers the basics of how this works in a 17 minute video. The video is definitely worth watching if you are curious about this.