[issue10495] Demo/comparisons/sortingtest.py needs some usage information.
Ramiro Batista da Luz
report at bugs.python.org
Mon Nov 22 01:38:32 CET 2010
New submission from Ramiro Batista da Luz <ramiroluz at gmail.com>:
When someone run Demo/comparisons/regextest.py without arguments it waits for lines to be inserted in the command line silently, until the EOF, or Ctrl+D in Linux, is entered.
If the user read the file, editing or using cat Demo/comparisons/sortingtest.py he have to understand the code to figure out how to use it.
My suggestion is to add an usage message, plus the if __name__ == '__main__':.
----------
components: Demos and Tools
messages: 122048
nosy: ramiroluz
priority: normal
severity: normal
status: open
title: Demo/comparisons/sortingtest.py needs some usage information.
type: feature request
versions: Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10495>
_______________________________________
More information about the Python-bugs-list
mailing list