Live data from Hacker News

P – Dead Simple Interactive Python Version Management

github.com

1–9 of 9 posts

Re: P – Dead Simple Interactive Python Version Management

#3

What use cases would this be useful for? Presumably most developers are using tox or virtualenvwrapper to control their python version

Came here to ask the same question. Under archlinux python 3 is the default, which breaks scripts who don't specify that their are python 2 only and start with #!/usr/bin/python and not #!/usr/bin/python2. But even there as user I don't see the need for this tool.

Re: P – Dead Simple Interactive Python Version Management

#8

What use cases would this be useful for? Presumably most developers are using tox or virtualenvwrapper to control their python version

I wrote about this in the FAQ (https://github.com/qw3rtman/p#faqs), but I'll reiterate the main use case below.

p is for the average Python developer who just needs to work with a different version of Python. Suppose one wants to start using the latest development release of Python; they just run `p latest` and p will take care of the rest.

`p` is a wrapper that handles and manages everything for you, simplifying the process for those who aren't familiar with tox or virtualenvwrapper. :)

Re: P – Dead Simple Interactive Python Version Management

#9
post #3

What use cases would this be useful for? Presumably most developers are using tox or virtualenvwrapper to control their python version

Came here to ask the same question. Under archlinux python 3 is the default, which breaks scripts who don't specify that their are python 2 only and start with #!/usr/bin/python and not #!/usr/bin/python2. But even there as user I don't see the need for this tool.

Commented above as a reply to @calpaterson; I'll paste the same comment below.

> I wrote about this in the FAQ (https://github.com/qw3rtman/p#faqs), but I'll reiterate the main use case below.

> p is for the average Python developer who just needs to work with a different version of Python. Suppose one wants to start using the latest development release of Python; they just run `p latest` and p will take care of the rest.

> `p` is a wrapper that handles and manages everything for you, simplifying the process for those who aren't familiar with tox or virtualenvwrapper. :)