A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2008-November/083635.html below:

[Python-Dev] Adding zipfile and directory execution to What's New for Python 2.6.1?

[Python-Dev] Adding zipfile and directory execution to What's New for Python 2.6.1? [Python-Dev] Adding zipfile and directory execution to What's New for Python 2.6.1?Nick Coghlan ncoghlan at gmail.com
Sat Nov 22 00:52:42 CET 2008
A trick we added to 2.6 that users seem to not notice is that it is now
possible to execute zipfiles and directories from the command line by
including a __main__.py module (that module will then be executed, but
more importantly, the zipfile or directory name will be added to the
beginning of sys.path so related modules can be found easily).

I went looking for this in the 2.6 What's New and couldn't find anything
about it (certainly not in the most obvious section - the one that
describes the other changes to the interpreter command line options and
environment variables).

Did I just miss something? Or should more on this be added to the What's
New for 2.6.1?

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4