PyString_FromFormat(). Also fixed one grammar problem, and a few other mark-up issues. Sample code not checked.