[Python-ideas] install pip packages from Python prompt

Wes Turner wes.turner at gmail.com
Wed Nov 1 09:12:08 EDT 2017


On Wednesday, November 1, 2017, Terry Reedy <tjreedy at udel.edu> wrote:

> On 11/1/2017 2:54 AM, Wes Turner wrote:
>
> A Tk GUI for pip would need to frustratingly duplicate ~/.bash_history and
>> up-arrow to get the previous command.
>>
>
> No it wouldn't, as the user would not be directly issuing pip commands. In
> any case, it would be trivial to keep a list of the pip commands submitted
> behind the gui facade and even to have an optional window to display them.


Now that there's a ``pip freeze`` and a ``conda env export``, it seems like
it's much easier to determine what one just did to their {system, --user,
virtualenv, conda root, or condaenv} without having a list of commands to
review (ala .bash_history) or filesystem diff's. Would such a GUI handle
these cases and also virtualenv create-and-restart?

Bash can be installed in Windows.


>
> IDLE sucks.
>>
>
> Why pollute your post with stupid flame bait?  In many respects, IDLE's
> Shell is unequivocally better than interactive python in a line-oriented
> shell like Command Prompt.  Ironically, given your comment above, one of
> its improvements is keeping a history of *statements* rather than a history
> of lines.  This makes it possible to retrieve and edit a whole command
> (statement) at once, rather than in pieces (lines).


Spyder is an IDE with a command prompt (shell window) and a python prompt
(python window, ipython window).


>
> --
> Terry Jan Reedy
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20171101/076e4265/attachment-0001.html>


More information about the Python-ideas mailing list