Python 3 - Overview

Updated: 2018-11-21

Why Python

  • Easy to learn
  • Simple and compact syntax
  • Available everywhere: Linux, macOS, Windows
  • Gaining momentum in data science, competing with R

Why Python 3

Come on! Look forward!

globals() vs locals() vs vars()

  • globals() always returns the dictionary of the module namespace
  • locals() always returns a dictionary of the current namespace
  • vars() returns either a dictionary of the current namespace (if called with no argument) or the dictionary of the argument.

Resources

learn python https://github.com/norvig/pytudes