I am getting an error in partition command
Hi
I am getting the following message in the partition line of whatsapp.py file:
Traceback (most recent call last):
File "chat.py", line 239, in
Hm, that is weird. It's a TypeError, so this means that whatever is in your variable l is incorrect.
l should be a string, so it can be partitioned (split) by : .
https://www.programiz.com/python-programming/methods/string/partition
I recommend you to put some prints in l to check content and type. Also, double check if your chat history has the correct format.