Instead of having comments at the end of each line, maybe specify the arguments with their keyword.

```python
p = Presentation(title=unicode(result.value(1).toString()), ...)
```