Giter VIP home page Giter VIP logo

chatroom's Introduction

ChatRoom CLI

一个 Python Socket 实现的纯命令行聊天室

预览

Preview

运行前要求

  • python 版本 3+

运行方法

进入项目根目录,执行命令:

python3 ./server_start.py

来启动服务器

执行命令:

python3 ./client_start.py

来启动客户端

客户端命令

运行之后,你可以在客户端输入命令来使用聊天室功能,输入:

help

可以获取帮助,输入:

login ${nickname}

可以以 ${nickname} 作为用户名登录,输入:

send ${message}

可以发送消息 ${message} 给聊天室登录的所有用户

作者的话

如果我的项目帮上了你的一点小忙,请点一个小星星或者请我喝一杯咖啡,谢谢 😉

AliPay WeChat

chatroom's People

Contributors

flyandnotdown avatar

Stargazers

Jonny avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.