+ 1

Please help me to clear errors

limited=raw.split(",") TypeError: a byte object is required, not 'str' Help me to solve soon as possible

23rd Feb 2020, 10:47 AM
ALL IN ALL AZAGURAJA
ALL IN ALL AZAGURAJA - avatar
1 Answer
+ 1
Do : limited = raw.split(b",") The 'b' specifies that Python must consider it as a bytes object
23rd Feb 2020, 10:54 AM
Théophile
Théophile - avatar