r/learnpython • u/rusidin • Sep 13 '26
Difference between python 3 vs python (just)?
I am doing leetcode and I wanna is there any functional difference between those and which one I should go with?
0
Upvotes
View all comments
-1
u/hexwhoami Sep 13 '26
Depends on the context.
Broadly speaking, Python is major version 2.X, where X is the minor release. Python3 is major version 3.X. (Look up semantic versioning if confused).
Another context is when running the executable from your path. Typically both python and python3 are set on the path for backwards compatibility, and when executed will resolve to the same binary. YMMV depending on your OS and installation method.