Python list formatting
You have the null equivalent hexadecimal '\x00' in between each character. To remove those hexadecimal characters, first join the list with a space and then split it at '\x00' and then join again. Print statement simply looks like follows.

&gt;&gt;&gt; print(' '.join( ' '.join(params).split('\x00')))