3 ms·
> We also made a fairly major misstep when we failed to appropriately advertise the addition of directory and zipfile execution support in Python 2.6 Agreed. I
by lloeki 14y ago
> We also made a fairly major misstep when we failed to appropriately advertise the addition of directory and zipfile execution support in Python 2.6
Agreed. I've been working high and low with python for years and I did not know it could do that:
> bundle your code with all its dependencies except Python into a directory or zipfile and add a __main__.py file and the Python interpreter will execute it as if it was a script.
- dagw 14y agoI've been programming python for years as well, and I had no idea. Not only that it sounds like the perfect solution to a problem in project I'm currently working on.