Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python.': 0.02; 'subject:Python': 0.06; '-will': 0.07; 'subject:code': 0.07; 'sys': 0.07; 'string': 0.09; "people's": 0.09; 'cc:addr:python- list': 0.11; 'python': 0.11; 'django': 0.11; 'gui': 0.12; 'suggest': 0.14; 'appengine': 0.16; 'django?': 0.16; 'practices.': 0.16; 'pygtk,': 0.16; 'pyqt,': 0.16; 'sockets': 0.16; 'subject: \n ': 0.16; 'subject:Not': 0.16; 'subject:start': 0.16; 'wxpython': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'subject:project': 0.19; 'thu,': 0.19; 'command': 0.22; 'programming': 0.22; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'frameworks': 0.24; 'skip': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'handling': 0.26; 'header:In-Reply-To:1': 0.27; 'hosting': 0.29; 'host': 0.29; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'libraries': 0.31; 'url:python': 0.33; 'framework': 0.33; 'subject: (': 0.35; 'advice': 0.35; 'something': 0.35; 'done.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'there': 0.35; 'version': 0.36; 'really': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'should': 0.36; 'application': 0.37; 'too': 0.37; 'project': 0.37; 'server': 0.38; 'little': 0.38; 'url:mail': 0.40; 'logs': 0.60; 'free': 0.61; 'first': 0.61; 'skip:n 10': 0.64; 'more': 0.64; 'great': 0.65; 'management': 0.65; 'account': 0.65; 'to:addr:gmail.com': 0.65; 'yes': 0.68; 'reverse': 0.68; 'wish': 0.70; 'jul': 0.74; 'soul': 0.74; 'subject:before': 0.84; 'subject:system': 0.84; 'novice': 0.91; 'yes!': 0.91; 'many,': 0.93; 'mistakes': 0.93; 'subject:chat': 0.93; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=8UkAi65B21u25lBrTqu4Y/iiVWqfv+Z9OR9XfGuFDiE=; b=tTyhNiPcQJF75Uoo8ys3jq1Mgwfe8FWK716tNafKwhQ7yp9SiljWPh90LGltrTBesT T0QZjHG0ypAMKNebjADim/DUnYBnLu+fzW+gakPPIpt6rD7gmRopbIeOb67PTAb3j/iQ ih74A85Ed5H9jcaCd42c8QARrQkC3AWuuABwRyjpxujJOrzagJa8bsvpv2S41y9bhlLn Ma8vHFBpdncqCqkH2xh5l9YYgMzi4X7aRE/IpmkKlt5aUxuphic2NFVLQRnPj+luthLF tC30yXS6pSLXtdZRGVvaqqRfsot5HvQpb12HWrC8e7s+HBrYTzHI7MoF7H72rhieq0RI TTDw== X-Received: by 10.52.245.3 with SMTP id xk3mr2859511vdc.57.1374123174780; Wed, 17 Jul 2013 21:52:54 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1f3e15e8-bbd3-457c-85f4-c5f251b3e744@googlegroups.com> References: <1f3e15e8-bbd3-457c-85f4-c5f251b3e744@googlegroups.com> From: vikash agrawal Date: Thu, 18 Jul 2013 10:22:14 +0530 Subject: Re: What does it take to implement a chat system in Python (Not asking for code just advice before I start my little project) To: Aseem Bansal Content-Type: multipart/alternative; boundary=001a11c2575ab5e69c04e1c1fba3 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 174 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1374123184 news.xs4all.nl 15926 [2001:888:2000:d::a6]:45928 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50827 --001a11c2575ab5e69c04e1c1fba3 Content-Type: text/plain; charset=UTF-8 Hi Aseem, First of all great thought and all the best for the learning! On Thu, Jul 18, 2013 at 10:06 AM, Aseem Bansal wrote: > 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 > Yes! sockets are the heart and soul of chat sys :-) > 2 find a free server to host my chat server > You can use many, but I would suggest heroku for your free apps. > 3 GUI development for clients > > There are many python libraries Tkinter, PyQt, PyGtk, wxPython through which you have GUI! > -I wanted to know whether these are all that I would need or are there > more things? > I think with above you are good to go! > -Will I need to learn a web framework like Django? > That would really depend upon the type of chat application you are relying upon. For a command line utility I think you can skip it, but if you wish to have good-looking web version then yes, give Django a shot! But yes do see other frameworks as well, just for finding out, learning and knowing more :) > -Will I need to learn something for database management like sql for > handling people's account names and password? > Yes, it will be good decision to use DB to store names and chat histories (with timestamp) and have your logs ready > > Is google appengine good for hosting the website or should I look up at > django hosting websites? > Its good too :) > > Any other advice for me(a novice programmer)? > Make mistakes and fail early! Python is awesome! But do try to learn the best practices. For eg, reverse a string string[::-1] etc. > -- > http://mail.python.org/mailman/listinfo/python-list > Regards ~Vikash --001a11c2575ab5e69c04e1c1fba3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Aseem,=C2=A0

First of all great thou= ght and all the best for the learning!

=
On Thu, Jul 18, 2013 at 10:06 AM, Aseem Bans= al <asmbansal2@gmail.com> wrote:
I wanted to do a little project for learning Python. I tho= ught 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

Yes!= sockets are the heart and soul of chat sys :-)
=C2=A0
2 find a free server to host my chat server

=
You can use many, but I would suggest heroku for your free apps.=C2=A0=
=C2=A0
3 GUI development for clients


There are many python libraries Tkinte= r, PyQt, PyGtk, wxPython through which you have GUI!
=C2=A0
=
-I wanted to know whether these are all that I would need or are there more= things?

I think with above you are goo= d to go!
=C2=A0
-Will I need to learn a web framework like Django?
That would really depend upon the type of chat application you = are relying upon. For a command line utility I think you can skip it, but i= f you wish to have good-looking web version then yes, give Django a shot! B= ut yes do see other frameworks as well, just for finding out, learning and = knowing more :)
=C2=A0
-Will I need to learn something for database management like sql for handli= ng people's account names and password?

=
Yes, it will be good decision to use DB to store names and chat histor= ies (with timestamp) and have your logs ready
=C2=A0

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

Its good too :)
=C2=A0

Any other advice for me(a novice programmer)?

Make mistakes and fail early!=C2=A0

Python = is awesome! But do try to learn the best practices. For eg, reverse a strin= g string[::-1] etc.

=C2=A0
--
http://mail.python.org/mailman/listinfo/python-list

Regar= ds
~Vikash
--001a11c2575ab5e69c04e1c1fba3--