 <p>First you need to convert all integers to strings while converting your data (of type <code>tuple</code>) to <code>list</code> and then apply <code>join()</code> function as follows:</p> <pre><code>data = ('I', 10031, 'GASAS.SW', 2024, 23067, -501, -6760.1, 1, 125 ) res = ' '.join([str(item) for item in data]) </code></pre> <p><strong>Output:</strong></p> <pre><code>&gt;&gt;&gt; res 'I 10031 GASAS.SW 2024 23067 -501 -6760.1 1 125' </code></pre>