Hi I am quite new to python and this is probably quite a basic question but the help would be much appreciated.
I would like to put an int within a string. This is what I am doing at the moment..
end = smooth(data,window_len=40)
plot.savefig('hanning(40).pdf') #problem line
plot.savefig('hanning(%d).pdf' % num)
% operator, when following a string, allows you to insert values into that string via format codes (the
%d in this case). For more details, see the Python documentation: