-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
18 lines (16 loc) · 1.04 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Notice:
This is a chatroom which supports several people chatting at the same time.
This project is so simple that maybe only suitable for beginners who just start learning python.
In our code,what you can see is,when users send their first messages to server,they register them in server.I mean,users will not be registered when they click the button named 'StartChatting'.
So,if you open two Login window,and then simulate chatting between two people,anyone can only receive the messages sended by others util he(she) send one message.This means,if one people only listen,but not speak anything,is not feasible.
Usage:
Add one variable to your environment,which value is your working copy:
add this line to the end of ~/.bashrc:
export PYTHONPATH = absolute path of your working copy
Change into 'Server' directory and then run the following command:
python server.js
Then come to 'View' directory,and just initial 'LoginView':
python LoginView.py
Now you can open several tabs to simulate chatting between several people.
Dependencies:
PyQt4