[Python-Dev] :program: markup in .rst documentation

Alexander Belopolsky alexander.belopolsky at gmail.com
Tue Jul 20 19:24:02 CEST 2010


On Tue, Jul 20, 2010 at 1:16 PM, Eli Bendersky <eliben at gmail.com> wrote:
..
>
> ``python regrtest.py test_spam.py``
>
> Which way to choose? I will update my patch to reflect this.

Sorry to add the third way to the mix, but shouldn't the recommended
way to run a module as a script be python -m modname?  As in

$ python -m test.regrtest test_spam


More information about the Python-Dev mailing list