data-lessons / library-python-intro-DEPRECATED

REPO NOW MOVED > https://github.com/LibraryCarpentry/lc-python-intro
https://github.com/LibraryCarpentry/lc-python-intro
Other
1 stars 11 forks source link

Reworking episode 6 #56

Closed richyvk closed 7 years ago

richyvk commented 7 years ago

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.

elliewix commented 7 years ago

Agreed that installation of modules and packages (plus imports) needs to be covered, but likely worth a separate episode.