I've replaced all but one use of the math module with string and os examples. They are not exactly exciting, but at least might be slightly more relevant. I removed the Parson's problem too, too much I thought.
I still think there is a bit of work to do on this episode, for example I find the reference to libraries and modules slightly confusing, and no mention of packages. Maybe it's trying to be generic, but I would think package instead of library might be good for Python? See http://knowpapa.com/modpaclib-py/ for example.
Also, a stated goal of the ep is to learn how to use other people's code but that isn't really covered. We should probably have something about pip install and PyPI??
Anyway, feedback sought and if you think it's better for now could someone please merge.
Proposed replacement of episode 6, as per discussion in issue https://github.com/data-lessons/library-python-intro/issues/29 @elliewix
I've replaced all but one use of the math module with string and os examples. They are not exactly exciting, but at least might be slightly more relevant. I removed the Parson's problem too, too much I thought.
I still think there is a bit of work to do on this episode, for example I find the reference to libraries and modules slightly confusing, and no mention of packages. Maybe it's trying to be generic, but I would think package instead of library might be good for Python? See http://knowpapa.com/modpaclib-py/ for example.
Also, a stated goal of the ep is to learn how to use other people's code but that isn't really covered. We should probably have something about pip install and PyPI??
Anyway, feedback sought and if you think it's better for now could someone please merge.