[pydotorg-www] Wiki page documenting running standard modules as scripts

John Whitlock John-Whitlock at ieee.org
Sun Jan 17 14:40:28 EST 2016


I agree, not as valuable, could be deleted. My thinking was, if someone
searches for Executable Modules, and clicks on this page, what would they
expect to see?

On Sun, Jan 17, 2016 at 12:33 PM, Mats Wichmann <mats at wichmann.us> wrote:

> On 01/13/2016 10:47 AM, John Whitlock wrote:
> > Initial version is now at https://wiki.python.org/moin/ExecutableModules
> .
> > It is incomplete - feel free to add others, standardize the formatting
> and
> > markup, etc.
>
> Just observing,
>
> I guess I don't see the value of the second section; the method for
> making a standard python script is pretty well known, and anyway you're
> interested in whether the author of the module has done so, not learning
> how to do it yourself.  The interesting part is that *if* a standard
> library module (or in fact an add-on module not included in the standard
> library) has been written to be executable standalone, then using "-m
> modname" goes and finds it in the path so you don't have to locate the
> file yourself.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pydotorg-www/attachments/20160117/d0e91dee/attachment.html>


More information about the pydotorg-www mailing list