Building a command-line chat tool using Python. The tool will support multiple chat rooms and can be used to communicate with multiple users on a network. Also it has admin features like kicking/ banning the client.
python_cli_chat_tool.mp4
To run the server file:
python s.py
To run the client file use:
python c.py
- One can easily chekout total no. of rooms.
- Multiple clients can join/create a chat room.
- Admin can ban or kick clients.
- bans.txt have all the list of clients which are banned.
- Python
- Socket Programming
- Multithreading
List all rooms:
/list
To join/create/switch to a room:
/join room_name
To quit:
/quit
By joining server with username admin, you can:
- kick
/kick client_name
- ban
/ban client_name