Python trivia and all the small things I find interesting. Appreciate comments.

Joined September 2016
Short but amazing (at least for me) intro to network programming. We start by opening two terminals: for python and netcat utility. #Python
3
Mystery solved. David Beazley on how he did slides for talks like youtube.com/watch?v=j6VSAsKA… Answer here: forum.dabeaz.com/t/how-to-mo… #Python
poem = """My name is Yon Yonson, I come from Wisconsin, ... """ >> ''.join(islice(cycle(poem), 10001)) #Python
The difference between `map` and `itertools.starmap` parallels the distinction betw. func(a,b) and func(*c) #Python
(enum.Enum) members can be compared by identity, and the enumeration itself can be iterated over #Python
1
hashes are fast and there are no collisions for 99k string entries #Python
>> sum([.1, .1, .1, .1, .1, .1, .1, .1, .1, .1]) 0.999(9) >> math.fsum([.1, .1,.1,.1,.1,.1,.1,.1,.1,.1]) 1.0 #Python