HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to get all the values from a dictionary in Python

13,532 views October 30, 2018 1:06

Watch on YouTube
ChannelEnthought

Description from the creator

In this short tutorial, you will learn how to extract all the values from a dictionary in Python, and how to coerce the output of the dict view. Want to learn more? See our Python classes at goo.gl/Jj4K5F.

Read the documentation for dict views here: docs.python.org/3/library/stdtypes.html#diction…

Code from video:
*****************
employees = {1: 'michael', 2: 'eric', 3: 'michael'}
employees.values()
list(employees.values())

Connect with us!
*****************
twitter.com/enthought
facebook.com/Enthought/
linkedin.com/company/enthought

About this tutorial

Enthought published this 1:06 video tutorial on October 30, 2018. It has been watched 13,532 times on YouTube.

Channel
Enthought
Duration
1:06
Published
October 30, 2018
Views
13,532
Likes
69

Tags

Share

This tutorial in other languages