Ok this is really doing my head in,
pevCommand = commands.getstatusoutput('pev ' + fileName)
pevString = "".join(map(str, pevCommand))
then later:
<hr />
<h3 style="color:blue;">
<strong>--Pev Output--: </strong></h3>
<p>'''+pevString+'''</p>
<hr />
Getting the following error:
TypeError: cannot concatenate 'str' and 'tuple' objects
I want the output of pevCommand to be a single string, I'm not sure that map is correct and have tried a bunch of other approaches such as those listed here: