Fear and Paralysis in the Land of Post-Dunning Kruger
The other day I was standing on the first peak of the DK graph , crowing about how I was ready to tackle Web Scraping using all the available Python methods like Selenium, Scrappy, Pandas. You name it. Then a funny thing happened on the way to the trophy snatching podium. I stumbled past a quickie post about "enumeration". It sounded simple enough. A thought popped into my egotistic mind. "How about starting the enumeration with the ASCII code for the letter "a" (lower case)? And then using the chr() function on the generated enumerations to convert them back to string characters so that I get lines prefixed by '(a)', '(b)', '(c)', '(d)', etc. ? Simple. Right? But wait one DK-plucking moment! What is the 'type' of the object produced by the enumerate() method? How do you convert it into a list or a dictionary? What is the 'type' of the object produced by the list() method? Why do I keep getting this ru...