Python 3 - Overview
Updated: 2020-12-31
Why Python
- Easy to learn
- Simple and compact syntax
- Available everywhere: Linux, macOS, Windows
- Gaining momentum in data science, competing with R
globals() vs locals() vs vars()
globals()
always returns the dictionary of the module namespacelocals()
always returns a dictionary of the current namespacevars()
returns either a dictionary of the current namespace (if called with no argument) or the dictionary of the argument.
Resources
-
functional programming
-
performance
-
test
-
best practice
learn python https://github.com/norvig/pytudes