After running this small program:
#!/usr/bin/env python2.7 # -*-coding:utf-8 -* a = 1 b = 2 c = 3 title = u\"\"\"a=\"\"\" + a + u\"\"\", b=\"\"\" + str(b) + \\
You didn't wrap a in a str call. You need to do str(a) where you have a, just like you did for b and c.
a
str
str(a)