Skip to content

TheJurmikDev/Python-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation


πŸ“¨ Python Chat

Python Chat is a simple chat system built with sockets in Python. It allows communication between a server and a client over a local network.

πŸš€ Features

  • πŸ“‘ Server & Client – Easy setup for both server and client
  • πŸ’¬ Real-time Messaging – Instant message exchange between users
  • πŸ”’ Local Connection – Works on 127.0.0.1 for testing

⚠️ Requirements

  • Python 3.x
  • Local network connection

πŸ“₯ Installation & Usage

1️⃣ Start the Server

python "PythonChat Server.py"

Enter the port number for the server.

2️⃣ Start the Client

python "PythonChat Client.py"

Enter the server’s port number and your name.

πŸ›  How to Use

  1. Run the server and wait for a client to connect
  2. Run the client and connect to the server
  3. Send messages and chat in real-time

πŸ“Œ Notes

  • For local use only (127.0.0.1)
  • Press Ctrl + C to stop the server/client