<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Sat, 5 Sep 2015 at 08:40 Steven D'Aprano <<a href="mailto:steve@pearwood.info">steve@pearwood.info</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Sep 05, 2015 at 04:08:24PM +0900, Stephen J. Turnbull wrote:<br>
> Steven D'Aprano writes:<br>
><br>
>Â > You say "of course", but did you actually look at the python-list<br>
>Â > archives? If you do, you will see posts like these two within the last<br>
>Â > 24 hours:<br>
><br>
> So let's fix it, already![1]Â Now that we have a blessed package<br>
> management module, why not have a builtin that handles the simple<br>
> cases? Say<br>
><br>
>Â Â Â def installer(package, command='install'):<br>
>Â Â Â Â Â ...<br>
<br>
Python competes strongly with R in the scientific software area, and R<br>
supports a built-in to do just that:<br>
<br>
<a href="https://stat.ethz.ch/R-manual/R-devel/library/utils/html/install.packages.html" rel="noreferrer" target="_blank">https://stat.ethz.ch/R-manual/R-devel/library/utils/html/install.packages.html</a></blockquote><div><br></div><div>The reason R has a built-in for this is because it's used a vast majority of the time from a REPL to do data analytics in an exploratory manner (think Jupyter notebook type of data exploration). Python does not have the same typical usage style and so I don't think we should follow R in this instance (although I have had R users says that packaging in R is far superior than Python due to ease of getting extensions installed period and not because of the lack of a function, but that's another discussion).</div></div></div>