Want to create a dict? There are lots of ways to do that, and in this video I explore two lesser-known ones: dict.copy (which creates a copy of an existing dict) and dict.fromkeys (which creates a dict based on a sequence of keys).
In addition to these videos, I have an active blog and free, weekly "Better developers" mailing list; see more at https://lerner.co.il/ .
Subscribe to this channel, as I try to go through all of the Python standard library!
Watch video Python standard library: dict.copy and dict.fromkeys online, duration hours minute second in high quality that is uploaded to the channel Python and Pandas with Reuven Lerner 28 August 2019. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 656 times and liked it 36 visitors.