Client-server based chat application written in python