Chat Client in Python (2003-07-28)
Client.py is a simple chat client written in Python. It requires:
Server.py is a single threaded chat server.
All it does is relay incoming data to all connectsions.
It requires inetcomms.py.
inetcomms.py is a module for internet clients and servers.
- LiasonClass provides non-blocking socket communications.
- HeadHunterClass does non-blocking connects.
- ListenClass handles a listening socket and accepting connections.
Widgets.py is a GUI widget module that uses PyGame.
- WidgetWindow - GUI framework class.
The application must pass pygame events to it.
- ButtonClass - simple button
- PageClass - vertically scrollable text window (with word-wrap)
- EditClass - basic single line edit control (supports key repeat)
- TextClass - basic single line label
- MultiLineTextClass - multi-line text label (with word-wrap)
Widgetsdemo.py shows off the capabilities of Widgets.py
The chatsystem archive contains the latest versions of all of these files.
All of these programs are Copyright (C) 2003 Michael Leonhard
These programs are put in the public domain.
Questions may be sent to me by email: client at tamale dot net
Due to a request from Nathan Lanyon, these programs are also be
available under the
GNU General
Public License.
You may choose to license this software from me or just take it as
public domain software. Whichever method you choose, know that the
software comes with no warranty.
Source Code:
Name Last modified Size Description
Parent Directory -
chat-2003-09-04.zip 04-Sep-2003 16:56 19K
chatsystem-1.2.tar.gz 28-Jul-2003 01:11 14K
chatsystem-1.2/ 11-Nov-2005 00:49 -
client.py 28-Jul-2003 00:33 13K
inetcomms.py 28-Jul-2003 01:10 7.8K
inetcomms.pyc 28-Jul-2003 01:11 7.7K
menu.shtml 11-Nov-2005 03:26 134
old/ 11-Nov-2005 00:49 -
screenshot.png 09-Jul-2003 12:16 34K
server.py 07-Jul-2003 02:08 2.5K
widgets.py 06-Jul-2003 00:41 27K
widgetsdemo.py 06-Jul-2003 00:42 3.7K
|