Ian Bicking: the old part of his blog


I use "if a in b" a lot to test if a is the substring of b and I find it's very readable and convenient. I think it's probably one benefit of iterable string.
Comment on Python nit, chapter 3
by Haifeng Wang