Python Functions, Packing, and Unpacking Introduction to Functions Calling a Function

Why python3 instead of python like in the previous videos?

Since before we used python to start up the interpreter if I'm not mistaken...

2 Answers

Steven Parker
Steven Parker
207,973 Points

You can still use "python". For a modern installation "python" is a shorthand for "python3". The instructor may have had an unusual configuration that required the longer name, or may have just typed it from habit.

Understood. Thank you

Arnold Ganga
Arnold Ganga
1,693 Points

python3 specifies the version of python that is python version 3