Skip to content

ahmadgbg/Chat-server-for-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chat-server-for-python

This is a python project that allows user chat in one chatroom togheter by connecting to a main chat server.

How to use

Add the server ip address in client.py and then run.

# ADD YOUR SERVER IP BELOW
SERVER = ""

To be able to connected outside a local network, port forwarding is a must to the specific port.
Port can be changed if wanted.

How to run

Run the application by command line. Use the following command:

###For server

python server.py

###For client

python client.py

#How to run without command line To run the application without command line, then you need to install PyInstaller and compile the application after you have changed ip address for the client.
You can do this by following these steps:

  1. Install PyInstaller in command line (requires python/pip to be installed):
pip install pyinstaller
  1. Create executable file for client
pyinstaller --onefile --noconsole client.py
  1. Run the created file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages