New submission from Ramiro Batista da Luz <ramiro...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10495>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to