Author ramiroluz
Recipients ramiroluz
Date 2010-11-22.00:38:30
SpamBayes Score 0.0212292
Marked as misclassified No
Message-id <1290386312.84.0.302753892173.issue10495@psf.upfronthosting.co.za>
In-reply-to
Content
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__':.
History
Date User Action Args
2010-11-22 00:38:32ramiroluzsetrecipients: + ramiroluz
2010-11-22 00:38:32ramiroluzsetmessageid: <1290386312.84.0.302753892173.issue10495@psf.upfronthosting.co.za>
2010-11-22 00:38:30ramiroluzlinkissue10495 messages
2010-11-22 00:38:30ramiroluzcreate