ch03: wip

This commit is contained in:
Luciano Ramalho
2019-11-26 12:17:40 -03:00
parent 8a1b6fe145
commit 59818e0500
5 changed files with 430 additions and 8 deletions

21
03-dict-set/README.md Normal file
View File

@@ -0,0 +1,21 @@
# Dictionaries and Sets
Sample code for Chapter 3 of _Fluent Python 2e_ by Luciano Ramalho (O'Reilly, 2020)
## Running the tests
### Doctests
Use Python's 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