python official documentation code example
Example 1: latest version of python
# For macs...
# Apparently you don't want to upgrade 2.* just install 3.*
% brew install python3
Example 2: python documentation
dont read documentation until you understand the core concepts of Python!