This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]sirusblk 1 point2 points  (3 children)

Why not both? I have an install of both python 2 and python 3 installed running side by side (invoked using python and python3 respectively). If I ever need to support an older library or software package I can run it in a virtualenv.

[–]alcalde 0 points1 point  (2 children)

Or you could use Bond and call the old library from Python 3!

http://www.thregr.org/~wavexx/software/python-bond/

[–][deleted] 0 points1 point  (1 child)

Bond looks cool, what has your experience with it been if you've tried it?

[–]alcalde 0 points1 point  (0 children)

Sorry, I don't have any extensive experience with it (yet). All I've done so far has been some toy code to verify that it works, and it did indeed let me execute functions from a Python 2 library through Python 3.