Carnali.com
  • Home
Category:

Python

Python

Python Dictionary Comprehension

by Al February 27, 2022
written by Al

I’ve been busy refreshing my Python skills by working through the excellent udemy, 100 Days of Code: The Complete Python Pro Bootcamp for 2022 course by Dr. Angela Yu. I’m currently working on day 48 which involves scrapping the Upcoming Events section of the Python.org website using the Selenium WebDriver. In the example code, Dr. Yu shows how to write the output of the scrapping operation into a dictionary using a for loop but says that it also could be accomplished using dictionary comprehension. I decided that would be an interesting challenge and would help to reinforce my knowledge of dictionary comprehension so I gave it a try. I thought that it would be a fairly easy thing to do …

Continue Reading
February 27, 2022 0 comments
0 FacebookTwitterPinterestEmail

Categories

  • Uncategorized (1)
  • Music (6)
  • Culture (22)
  • Adventure (2)
  • Reviews (15)
  • Interesting (3)
  • Politics (32)
  • Photography (7)
  • Personal (29)
  • Technology (7)
  • Fun (12)
  • Other (2)
  • Astronomy (5)
  • Python (1)
  • Amateur Radio (4)
  • Movies (4)
  • Facebook
  • Twitter
  • Instagram
  • Youtube

@2019 - All Right Reserved. Designed and Developed by PenciDesign


Back To Top
Carnali.com
  • Home