tubeshowcase●1,661,453 videos♡ My collection 0
← Learn to Code

Learn to Code08:24

Writing zip, but for dictionaries

mCoding ↗

From the creator

A better way to iterate over multiple dictionaries! There are many choices, but none of the existing methods really feel right. So in this video, we see James's preferred way to do it, using a dict_zip generator that we define and implement in Python. ― mCoding with James Murphy (https://mcoding.io) Source code: https://github.com/mCodingLLC/VideosSampleCode dict docs: https://docs.python.org/3/library/stdtypes.html#dict zip docs: https://docs.python.org/3/library/functions.html#zip itertools docs: https://docs.python.org/3/library/itertools.html CPython dict: https://github.com/python/cpython/blob/main/Objects/dictobject.c SUPPORT ME ⭐ --------------------------------------------------- Patreon: https://patreon.com/mCoding Paypal: https://www.paypal.com/donate/?hosted_button_id=VJY5SLZ8BJHEE Other donations: https://mcoding.io/donate Top patrons and donors: Jameson, Laura M, Vahnekie, Dragos C, Matt R, Casey G, Johan A, John Martin, Jason F, Mutual Information, Neel R BE ACTIVE IN MY COMMUNITY 😄 --------------------------------------------------- Discord: https://discord.gg/Ye9yJtZQuN Github: https://github.com/mCodingLLC/ Reddit: https://www.reddit.com/r/mCoding/ Facebook: https://www.facebook.com/james.mcoding

Published 2022-06-27 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code