python 3

Moderator: Forum moderators

Post Reply
User avatar
mikeslr
Posts: 2952
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 178 times
Been thanked: 909 times

python 3

Post by mikeslr »

I know almost nothing about python except that some applications require it and on most of the occasions I tried to build an application requiring it, it bit me. That said, if nothing else rockedge's post here, viewtopic.php?p=7671#p7671 seems to suggest a way to begin taming the beast.

Figured it was worth spot-lighting before it go lost in the weeds.
pupgeek
Posts: 4
Joined: Sun Oct 18, 2020 2:08 pm

Re: python 3

Post by pupgeek »

True, there are a lot of apps out there that require python, however, you must remember that python3.x is not the same as python2.x. That is, apps which call for python2.x actually require python2.x, python3.x is not backward compatible, as the syntax is different. That being said, it is possible to have both versions installed. In such a configuration, the command "python" usually refers to python2 where the command "python3" is for python3.x.
User avatar
rockedge
Site Admin
Posts: 6525
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2736 times
Been thanked: 2616 times
Contact:

Re: python 3

Post by rockedge »

I run both Python 3.8 and Python 2.7 side by side. Using "python2" and "python3" and adjusting a symlink called "python" to fit as needed between using 2.7 or 3.8.

Stuff I have written in Python 2.7 and works well will not work in 3.8 and vise versa
Post Reply

Return to “System”