A mish mosh of Python code representing interesting functions, scripts, snippets, or problems that I've encountered
Follow below steps. Can also read this Stack Overflow article
- Go to the Python download page and follow the instructions there to download an installer (safe for updates).
- Update the
~/.bash_profile
and/or~/.zprofile
files to update the PATH extension to point to the latest version of Python downloaded (these are usually stored at/Library/Frameworks/Python.framework/Versions/...
) - Repoint the
python
command alias symlink by going to/usr/local/bin
and executingcp python3 python
(will work assuming the installer updated thepython3
alias to the latest version)