This modifies some of the zipf material but in a non-breaking way.
@DamienIrving please check - do we want these changes in the main zipf directory
or should they be put elsewhere?
Removed the "reload configuration" part of the "save configuration" exercise:
it turns out that matplotlib uses a class of its own rather than a dictionary to store parameters,
and while it can be reconstructed, it felt like getting into the weeds.
Removed the exercise on tracing where configuration parameters come from:
it's easy to do for flat configurations but required recursion for nested parameters,
which I think we want to steer away from.
Add a new directory data-package with a solution to the corresponding exercise.
This is not a full Python package, but illustrates the core idea.
@DamienIrving thanks for the feedback - I removed the data package example entirely and substituted the pratchett quotes, and made other changes as suggested.
Add solution to "save configuration" exercise.
zipf
material but in a non-breaking way. @DamienIrving please check - do we want these changes in the mainzipf
directory or should they be put elsewhere?Removed the "reload configuration" part of the "save configuration" exercise: it turns out that
matplotlib
uses a class of its own rather than a dictionary to store parameters, and while it can be reconstructed, it felt like getting into the weeds.Removed the exercise on tracing where configuration parameters come from: it's easy to do for flat configurations but required recursion for nested parameters, which I think we want to steer away from.
Add a new directory
data-package
with a solution to the corresponding exercise. This is not a full Python package, but illustrates the core idea.