[Python-ideas] Module name [was Re: Pre-PEP: adding a statistics module to Python]

Alexander Belopolsky alexander.belopolsky at gmail.com
Tue Aug 6 01:31:03 CEST 2013


On Mon, Aug 5, 2013 at 7:23 PM, Joshua Landau <joshua at landau.ws> wrote:

> As someone who disagrees, what's wrong with "import statistics as stats"?
> Are you saying it would get in the way if you wanted your own statistics
> module?


No.  More likely it will get in the way of the "statistics" variable.

import statistics as stats
# A few hundred lines later:
stats.mean(statistics)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130805/667f6b25/attachment.html>


More information about the Python-ideas mailing list