Re: Upgrading python from 27 to 36

2017-04-27 Thread Russell Jones
On which interpreter is used, you can control this with (IIRC) something like port select --set python3 python3.6 port select --set python2 python2.7 port select --set python python2 # or "port select --set python python3" if you like It's most flexible to say #!/usr/bin/env python2 or #!/us

Re: Upgrading python from 27 to 36

2017-04-27 Thread Russell Jones
In short, most stuff works with 2 and 3, and you should use 3. You can install both, they're independent. virtualenvs are your friend. Also, "import this" if you haven't already :) In full, it's quite complex. See https://wiki.python.org/moin/Python2orPython3 For most features and least hass

Upgrading python from 27 to 36

2017-04-26 Thread Michael
What is involved in switching from python 27 to python 36? I've been using python 27 for a while. I've run into a problem with youtube-dl needing a newer python. But I don't know what I need to do to safely update. It's not like python2 is a different program than python3 (same "python" in both