خرید بک لینک

Vote count: 0

I am ruing this code on python3. I encoded the data using .encde('utf_8') while accepting from the server. But now I want to decode it in order make it human readable.

 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')) 

But it is giving the following error:

print(str.decode('utf_8')) AttributeError: 'tuple' object has no attribute 'decode'

How can I decode it ?

asked 23 secs ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 14 مرداد 1395 ساعت: 10:01

صفحه بندی