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
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