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

2016-01-17 Thread John Whitlock
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 wrote: > On 01/13/2016 10:47 AM, John Whitlock wrote: > > Initial version

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

2016-01-13 Thread John Whitlock
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. Thanks, John On Wed, Jan 13, 2016 at 10:21 AM, Chris Angelico wrote: > On Thu, Jan 14, 2016 at 3:15 AM, John Whitlock >

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

2016-01-13 Thread John Whitlock
I've found that experienced Python developers are unaware that some standard modules can be run as scripts, such as $ python -m json.tool path/to/data.json # Validate and pretty print JSON $ python -m SimpleHTTPServer [] # Start a web server in the current folder, default port 8000 $ pyt