Yes, but I strongly recommend (as I have in "Python in a Nutshell" 3rd edition a few years ago, and 4th edition now in the final steps of the production process -- should be released in paper before year-end, as ebook even earlier) that you install your own CPython (or other interpreter) and use virtual environments for any serious development work, rather than relying on the system-provided version (or, even worse, tampering with said version in any way).
Authored Comments
Yes, but I strongly recommend (as I have in "Python in a Nutshell" 3rd edition a few years ago, and 4th edition now in the final steps of the production process -- should be released in paper before year-end, as ebook even earlier) that you install your own CPython (or other interpreter) and use virtual environments for any serious development work, rather than relying on the system-provided version (or, even worse, tampering with said version in any way).