[Python-Dev] python-dev Summary for 2004-09-16 through 2004-09-30 [draft]

Thomas Heller theller at python.net
Thu Oct 14 15:06:07 CEST 2004


Barry Warsaw <barry at python.org> writes:

> On Thu, 2004-10-14 at 08:01, Nick Coghlan wrote:
>
>> That reminds me - the version of this that got checked in is restricted 
>> to top-level modules in order to keep things simple. I put a recipe up 
>> on the Python cookbook for those that wanted to be able to easily run 
>> scripts that live inside packages.
>> 
>> The recipe:
>> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/307772
>
> Why not add this to the stdlib?  I'd call it pyrun.py.

... and call it automatically when the '-m' implementation detects a
dotted name?

Thomas



More information about the Python-Dev mailing list