url pick action pitfallsthreads about global interpreter lock shared memory polymorphism priority queue properties about using - usingfor adding behavior to class data - property constructor property function public interface creating py test about cleanup - setup - testing with - testsskipping with variablessetting up - python python built-in functions about enumerate function len(function reversed(function python classes arguments - attributesadding creating implementing objectinitializing - python data structures built-insextending - case study - dictionaries - empty objects lists - named tuples queues sets - tuples queues about fifo queues - lifo queues priority queues regular expressions about case study - informationobtaining from patternsmatching repeated regular expressionsmaking efficient relative imports self argument sequence diagram sets - simple command-line notebook application building - singleton pattern about implementing - slots stacks state pattern about example - state transition as coroutines versusstrategy pattern strategy pattern about abstraction interface example user code usingin python string formatting about bracesescaping container lookups keyword arguments object lookups