top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

What does it take to implement a chat system in Python?

+1 vote
38 views

I wanted to do a little project for learning Python. I thought a chat system will be good as it isn't something that I have ever done.

I wanted to know what will I need? I think that would require me these

1 learn network/socket programming
2 find a free server to host my chat server
3 GUI development for clients

-I wanted to know whether these are all that I would need or are there more things?
-Will I need to learn a web framework like Django?
-Will I need to learn something for database management like sql for handling people's account names and password?

Is google appengine good for hosting the website or should I look up at django hosting websites?

posted Jul 18, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

+1 vote

This is a "been there, done that" kind of project. You could learn more from reading somebody else is code. What hasn't been done, and this would be very cool, is a chat program that works peer-to-peer with no central server. To do this, you would probably need to know about distributed hash tables and methods of piercing address translation firewalls (think UDP).

First however, I would suggest taking a look at https://jitsi.org/ and see how they do things. You can learn a lot from these people.

answer Jul 18, 2013 by anonymous
Similar Questions
+2 votes

As per my understanding Receive system calls will be a blocking call of the code... it will not go ahead unless it receives the response from client .. my question is how would i set time in that? i want my code should wait only for few seconds then it has to come out from that

+2 votes

Iam on python 2.7 and linux .I need to know if we need to place the modules in a particular or it doesn't matter at all while writing the program.

For Example

import os
import shlex
import subprocess
import time
import sys
import logging
import plaftform.cluster
from util import run

def main():
 """ ---MAIN--- """

if __name__ == '__main__':
 main()

In the above example :

I am guessing may be the python modules like os , shlex etc come first and later the user defined modules like import plaftform.cluster etc

Sorry if my question sounds dump , I was running pep8 and don't see its bothered much about it


Useful Links with Similar Problem
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...