example-code-2e/03-dict-set
Luciano Ramalho 59818e0500 ch03: wip
2019-11-26 12:17:40 -03:00
..
support update from Atlas with major reorg 2015-04-17 21:29:30 -03:00
03-dict-set.ipynb ch03: wip 2019-11-26 12:17:40 -03:00
dialcodes.py updated from Atlas 2015-04-01 22:48:56 -03:00
index0.py fixed anomalous backslash in string 2019-03-20 22:05:34 +08:00
index_default.py fixed anomalous backslash in string 2019-03-20 22:05:34 +08:00
index.py fixed anomalous backslash in string 2019-03-20 22:05:34 +08:00
README.md ch03: wip 2019-11-26 12:17:40 -03:00
strkeydict0.py updated from Atlas 2015-04-01 22:48:56 -03:00
strkeydict.py updated from Atlas 2015-04-01 22:48:56 -03:00
transformdict.py ch03: wip 2019-11-26 12:17:40 -03:00
zen.txt ch03: wip 2019-11-26 12:17:40 -03:00

Dictionaries and Sets

Sample code for Chapter 3 of Fluent Python 2e by Luciano Ramalho (OReilly, 2020)

Running the tests

Doctests

Use Pythons standard doctest module, for example:

$ python3 -m doctest bisect_demo.py -v

Jupyter Notebook

Install pytest and the nbval plugin:

$ pip install pytest nbval

Run:

$ pytest --nbval