Box: Using Dot Notation to Access Keys in a Python Dictionary

Table of Contents

Box: Using Dot Notation to Access Keys in a Python Dictionary

Do you wish to use dict.key instead of dict['key'] to access the values inside a Python dictionary? If so, try Box.

Box is like a Python dictionary except that it allows you to access keys using dot notation. This makes the code cleaner when you want to access a key inside a nested dictionary like above.

Here is the link to Box.

Scroll to Top

Work with Khuyen Tran

Work with Khuyen Tran