Message283359
Hi,
I believe it's already done. The only thing that people tends to forget is that doing python -m "module.script(.py)" is only doing the equivalent of "python module/script.py".
I believe it's clear though ;
https://docs.python.org/3/using/cmdline.html#cmdoption-m
Any module that anyone has done can do it, so it would be up to the module developer to put it in the README/Description of the module to describe how to use it. That's what I think
BTW, I'm just giving my opinion out of contributing. Please don't see it as a denial as it's not the case. Python strive to be clearer but has 20 years of existence. Enhancing it is hard.
Regards,
Eric Lafontaine |
|
Date |
User |
Action |
Args |
2016-12-16 01:22:14 | Eric Lafontaine | set | recipients:
+ Eric Lafontaine, tebeka, docs@python |
2016-12-16 01:22:14 | Eric Lafontaine | set | messageid: <1481851334.59.0.316140574402.issue28972@psf.upfronthosting.co.za> |
2016-12-16 01:22:14 | Eric Lafontaine | link | issue28972 messages |
2016-12-16 01:22:13 | Eric Lafontaine | create | |
|