Dear all,

following up on Bartosz's recent email about his "advanced numpy" material[1], here is some additional material from the same "SWC-inspired" advanced Python workshop[2]: I had the pleasure to present a lesson on "testing, debugging, profiling"[3], rendered here to HTML with the standard SWC template[4].

As for Bartosz, the workshop was the first and so far only time that I presented this content. In about 2h45 I covered most of it, but was running out of time in the end so that the participants unfortunately did not have the time to do the exercises for the profiling part. The general feedback for the lesson was positive and the content considered useful -- comments, pull requests, etc. are more than welcome!

The first part on testing is heavily based on Katy Huff's "python-testing" lesson[5] (using pytest instead of nose and numpy arrays instead of lists), although considerably shorter and therefore not covering as many testing-related topics. The sections on debugging and profiling drew inspiration from the corresponding sections in the scipy lecture notes[6], written by Gaƫl Varoquaux.

Best,
  Marcel


[1] http://lists.software-carpentry.org/pipermail/discuss/2016-May/004441.html
[2] http://telecom-python.telenczuk.pl/
[3] https://github.com/paris-swc/python-testing-debugging-profiling
[4] http://paris-swc.github.io/python-testing-debugging-profiling/
[5] http://katyhuff.github.io/python-testing/
[6] http://www.scipy-lectures.org

_______________________________________________
Discuss mailing list
[email protected]
http://lists.software-carpentry.org/listinfo/discuss

Reply via email to