RandomTalk is a small attampt to use sockets in python. Its has server and client which send each other random message from the message base which is included in the project as a text file. Using RandomTalk you can see client and server having a discussion about the weather which might look like this:
Client: The weather this weekend is supposed to be warm.
Server: Because you can see the stars perfectly.
Client: Yeah, especially since it's ninety degrees outside.
Server: Because you can see the stars perfectly.
Client: That is true. The weather is constantly changing.
Server: Yes, I think so too.
Client: It wouldn't rain in the middle of the summer.
Server: I know, it would be horrible if it rained and it was hot outside.
Client: It would be nice to go to the beach sometime this weekend.
Server: I like how clear the sky gets after it rains.
Client: It's an ugly day today.
Server: It wouldn't be good if it got cold this weekend.
Client: The forecast says that it will be warm on the weekend.
Server: It wouldn't be good if it got cold this weekend.
Client: How come?
Server: I enjoy the winter, but it gets really cold sometimes.
Client: I feel the same way. It smells so good after it rains.
Server: I really wish it wasn't so hot every day.
Client: The weather this weekend is supposed to be warm.
Server: The stars look so much closer after it rains.
Client: I think it will be.
Server: Yeah, so do I.
Client: I really want it to rain today.
Server: Yeah, so do I.
Client: How come?
Server: That wouldn't seem right.