I absolutely love the Reading Code section, and I've been going through some of the repositories and identifying specific examples of why the code is good.
I was hoping to add one such example to the page. Specifically, from howdoi. It's virtually at the top of the codebase and it deals with standardizing the repository for Python 2 and 3.
I absolutely love the Reading Code section, and I've been going through some of the repositories and identifying specific examples of why the code is good.
I was hoping to add one such example to the page. Specifically, from
howdoi. It's virtually at the top of the codebase and it deals with standardizing the repository for Python 2 and 3.https://github.com/gleitz/howdoi/blob/master/howdoi/howdoi.py
I think that there are two (and a half) key pedagogical takeaways from this.
The half takeaway is that supporting different versions of Python need not be a grueling task.
The remaining two are -
I haven't formally written this up yet, but if you think it would be a useful example, I can do that and submit a pull request.
The text was updated successfully, but these errors were encountered: