Skip to content

iridhicode/python-websocket-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Web Socket Demo in Python 🌐

This repository contains a simple example of implementing web sockets in Python using the websockets library.

Requirements πŸš€

  • Python 3.6 or above
  • Websockets library version 12.0 or above

To install the websockets library, run the following command:

pip install websockets

To run the web socket example, follow these steps:

Clone this repository:

git clone https://github.com/iridhicode/web-socket-demo.git

Navigate to the project directory:

cd web-socket-demo

Navigate to the Server directory:

cd Server

Run the server:

python server.py

In a separate terminal, navigate to the Client directory:

cd Client

Run the client:

python client.py

Observe the communication between the server and the client in the respective terminal windows.

About

This is a demo application to demonstrate WebSockets in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages