In article <mailman.3484.1363662214.2939.python-l...@python.org>, Terry Reedy <tjre...@udel.edu> wrote: >On 3/18/2013 5:17 PM, Peng Yu wrote: >> Hi, >> >> I don't quite understand how -m option is used. And it is difficult to >> search for -m in google. Could anybody provide me with an example on >> how to use this option? > >python -m test >at a command line runs the regression tests in the test package >python -m test -v test_difflib >runs test.test_difflib in verbose mode.
I get for both : "/usr/bin/python: test is a package and cannot be directly executed." What gives? (Official stable Debian distribution. Python 2.7) >-- >Terry Jan Reedy > Groetjes Albert -- Albert van der Horst, UTRECHT,THE NETHERLANDS Economic growth -- being exponential -- ultimately falters. albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst -- http://mail.python.org/mailman/listinfo/python-list