News for hackers. Stuff that matters.
Re:P – Dead Simple Interactive Python Version Management by calpaterson on Wednesday May 06, 2015 @06:58AM (#9497716)
What use cases would this be useful for? Presumably most developers are using tox or virtualenvwrapper to control their python version
Re:P – Dead Simple Interactive Python Version Management by qw3rtman on Wednesday May 06, 2015 @10:42AM (#9498956)
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 by bebna on Wednesday May 06, 2015 @07:22AM (#9497797)
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 by qw3rtman on Wednesday May 06, 2015 @10:43AM (#9498967)
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. :)

Re:P – Dead Simple Interactive Python Version Management by erikb on Wednesday May 06, 2015 @07:34AM (#9497838)
At least Ubuntu can also switch the version of what "python" links to via setting a configuration.
Re:P – Dead Simple Interactive Python Version Management by copsarebastards on Wednesday May 06, 2015 @09:49AM (#9498543)
How does this interact with pip?
Re:P – Dead Simple Interactive Python Version Management by qw3rtman on Wednesday May 06, 2015 @10:38AM (#9498922)
At this point, p makes no attempt to manage pip versions. I have added this feature to the TODO and it will be implemented sometime in the future.

Thanks for the suggestion! :)