I would like to put an int into a string. This is what I am doing at the moment:
int
string
num = 40 plot.savefig(\'hanning40.pdf\') #problem
Not sure exactly what all the code you posted does, but to answer the question posed in the title, you can use + as the normal string concat function as well as str().
"hello " + str(10) + " world" = "hello 10 world"
Hope that helps!