[Python-Dev] Distutils2 scripts (original) (raw)

James Y Knight foom at fuhm.net
Sat Oct 9 01:07:13 CEST 2010


On Oct 8, 2010, at 5:24 PM, Gisle Aas wrote:

On Oct 8, 2010, at 9:22 , Jeroen Ruigrok van der Werven wrote:

+1 from me. I sincerely dislike the Perl-esque -m stuff. As a Perl/Python guy I have to object to calling the -m stuff Perl-esque. This is a very Pythonish thing. In the Perl world we never treat modules as scripts; they are separate concepts written separately and installed in separate locations. There is no feature of perl similar to the Pythonish -m stuff.

Yes there is. -m and -M.

E.g., the widely advertised perl -MCPAN -e install. It's not identical to python's -m, to be sure, but it's similar.

James



More information about the Python-Dev mailing list