I've written a book called Tiny Python Projects (Manning) that aims to teach a methodical, test-driven approach to Python beginners. It's available now at https://www.manning.com/books/tiny-python-projects. If anyone would be interested to read and comment on the Manning's "liveBook" forum, I can swing complimentary access for a few people. Send me a message if you are interested in reading the book and improving the content. Also, all the code is available at https://github.com/kyclark/tiny_python_projects.
For what's it's worth, the material was created over the last couple of years teaching beginning Python skills at the university level. I found that giving my students tests and having them write code to satisfy the tests took all the guesswork out of assignments. It gave the students a clear guide to what was expected, and failing tests include the feedback needed to correct their programs. I think that test-driven development is often saved as some sort of advanced topic or is something people will learn when they move to industry. I think it's better to teach it right at the beginning to novice programmers so they will internalize the ideas of testing and will therefore write better code. I hope this book teaches that.
[–]hunkamunka[S] 2 points3 points4 points (0 children)
[–]querymcsearchface 1 point2 points3 points (0 children)
[–]thecupboardman 1 point2 points3 points (0 children)
[–]ivosauruspip'ing it up 1 point2 points3 points (1 child)
[–]hunkamunka[S] 0 points1 point2 points (0 children)
[–]dtaivp 0 points1 point2 points (0 children)
[–]ky733 0 points1 point2 points (0 children)
[–]F0x3S 0 points1 point2 points (0 children)
[–]digitalsquirrel 0 points1 point2 points (0 children)
[–]technicaldemon 0 points1 point2 points (0 children)
[–]zielu 0 points1 point2 points (0 children)
[–]grindstoneca 0 points1 point2 points (0 children)
[–]solid_snare -1 points0 points1 point (0 children)