Paid episode

The full episode is only available to paid subscribers of The Python Papers

Merging Python Dictionaries

Yes, this is a short and sweet video. It’s a silly one too, but sometimes you’ll find that you need to merge two or more dictionaries.

Python has several different ways to accomplish this feat:

  • Using the `update()` method

  • Using **

  • Using the union operator

I hope you enjoy it!

Watch with a 7-day free trial

Subscribe to The Python Papers to watch this video and get 7 days of free access to the full post archives.

Authors
Mike Driscoll