AttributeError: 'tuple' object has no attribute 'decode' while trying to decode string
<p>I am running this code on Python 3. I encoded the data using <code>.encode('utf_8')</code> while accepting from the server. But now I want to <code>decode</code> it in order make it human readable.</p>

<pre><code> All1 = soup.findAll('tag_name', class_='class_name')
 All2 = "".join([p.text for p in All1])
 str = "1",All2.encode('utf_8')
 print(str.decode('utf_8')) 
</code></pre>

<p>But it is giving the following error:</p>

<pre><code>print(str.decode('utf_8'))
    AttributeError: 'tuple' object has no attribute 'decode'
</code></pre>

<p>How can I decode it ?</p>