https://docs.python.org/3.6/library/winsound.html
http://stackoverflow.com/questions/6537481/python-making-a-beep-noise
http://stackoverflow.com/questions/16573051/python-sound-alarm-when-code-finishes
The Python Standard Library »
29. Python Runtime Services »
29.1. sys — System-specific parameters and functions
sys.exit([arg])
https://docs.python.org/3/library/sys.html
Exit from Python.
Execution model > Naming and binding > global:
https://docs.python.org/3.6/reference/executionmodel.html
It would be impossible to assign to a global variable without global, although free variables may refer to globals without being declared global.
https://docs.python.org/3.6/reference/simple_stmts.html#the-global-statement
21:45 IDLE is not the world’s greatest editor. It crashes. It has performance problems.
… Go get yourself a real editor!
42:45 A general purpose programming language can do anything.
We don’t know in advance what problem we’re solving.
Because of that, it’s very easy to invent problems…
46:30 don’t be a hypergeneralizer
Documentation »
The Python Tutorial » 5. Data Structures » 5.4. Sets
https://docs.python.org/3.6/tutorial/datastructures.html#sets
set1.symmetric_difference(set2)
http://stackoverflow.com/questions/3462143/get-difference-between-two-lists
set1.intersection(set2)
lst2 = list(filter(lambda x:len(x)>1, lst))
filter(function, iterable)
Construct an iterator from those elements of iterable for which function returns true.
https://docs.python.org/3/library/functions.html#filter
Documentation » The Python Tutorial » 6. Modules
https://docs.python.org/3/tutorial/modules.html
from import *
imports all names except those beginning with an underscore (_). In most cases Python programmers do not use this facility since it introduces an unknown set of names into the interpreter
Documentation » Python HOWTOs » Sorting HOW TO
https://docs.python.org/3/howto/sorting.html
l4 = sorted(l4, key=lambda concept: (concept[0].lower(), concept[1])
http://stackoverflow.com/questions/10269701/case-insensitive-list-sorting-without-lowercasing-the-result
The assert statement
https://docs.python.org/3.6/reference/simple_stmts.html#grammar-token-assert_stmt
An assert statement checks a given invariant and raises an
exception if it fails: