DEV Community

Cover image for Advance your Python skills by Building a Whatsapp Chat Analyser: a Guided Project

Advance your Python skills by Building a Whatsapp Chat Analyser: a Guided Project

Nityesh Agarwal on November 18, 2019

Finding ways to apply your knowledge after the learning process essentially means that the learning happened without much sense of a destination. A...
Collapse
 
kostantine2014 profile image
Kostas Ntine

Wow! A couples of months ago I analyzed the chat history I had with my now ex-girlfriend. I wanted to investigate the timeseries of certain parameters e.g. number of messages, specific emojis etc. in order to check at which point our distance relationship was declining. That was so fun despite we broke up😂😭

Collapse
 
nityeshaga profile image
Nityesh Agarwal • Edited

Hahha! That is so geeky, I love it! 😜 Awesome (and sad) stuff man!

Collapse
 
bketelboeter profile image
Brian Ketelboeter

I don't have any Whatsapp chats to use. Suggestions?

Collapse
 
nityeshaga profile image
Nityesh Agarwal

You can follow the rest of the guide with any other chat file as well. Can you get you chat archive on some other chat service that you use?

Collapse
 
damian_chisom profile image
Damian Emerah

Hello, please how can i separate the time and the dates in the text file from the main chat?

Collapse
 
nityeshaga profile image
Nityesh Agarwal

Hey @demigod, you can use the time module for that. Sorry for the late response. I would request you to join the above mentioned Slack group to get faster help from me or your peers as well! :)

Collapse
 
bharzzy profile image
BAZZAN

Hello Nityesh, you've got an awesome project here. How do i join the slack group? is there a link or something... pls post below

Collapse
 
hamzamateen profile image
HamzaMateen

Hello! I love your project, but can you give me a hint on how to Code MS5: Feature 4, btw thanks for guided project.

Collapse
 
nityeshaga profile image
Nityesh Agarwal

Hey Hamza, you chould try to take the difference between every 2 consecutive msg and see if it is more than a certain threshold. You'll probably need to use Python's time module here.

Sorry for the late response. I would request you to join the above mentioned Slack group to get faster help from me or your peers as well! :)