Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.156 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.70; '*S*': 0.01; 'socket': 0.07; 'wrote': 0.14; '24,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject: ..': 0.16; 'subject:stuck': 0.16; 'wrote:': 0.18; 'subject:need': 0.19; 'command': 0.22; 'code,': 0.22; 'saying': 0.22; 'posts': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'start,': 0.30; 'message-id:@mail.gmail.com': 0.30; 'fault': 0.31; 'yourself.': 0.31; 'subject:time': 0.33; 'actual': 0.34; 'copying': 0.34; 'subject:from': 0.34; 'something': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'doing': 0.36; 'next': 0.36; 'nov': 0.38; 'to:addr:python-list': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'read': 0.60; "you're": 0.61; "you'll": 0.62; 'kind': 0.63; 'miss': 0.74; 'subject:,': 0.80; 'subject:this': 0.83; 'here...': 0.84; 'pasting': 0.84; 'ugly,': 0.84; 'subject:much': 0.91; '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:date:message-id:subject:from:to :content-type; bh=FZgi6v0CZt6aFlxTKAvC54iH5Ld9ItB7cFkgxuB2HB8=; b=VQuqVi9x/NFzE7r8deYJkGvvMpQqndteCdR/ZzPWZJZnlgP+FJOom/EHuSjHf1rxDv wXQbnwLBrRumkTU+FFiHolbdWbhvVkeG6PSRNhNf94P66P8VnWbBp1ZYfZ3551hT1unC rsC3O001GcciYPHCEtPsK/nBRrwXTFJ7vNhjRjWBmi92leAfLlLX5+SVSmUIKdE6dN9R g5LlybClkq0h3HW0qRk43NUGb9odSnbYtCOWwVPDNDbrX+ml2x2hhdY8oRzf1WuaFOcW RCcVsRvArxxlfCvfn5fUBkD3oyRU5Kp1RwWDc6AvQlu/f1OvpXO284R7xydbpsof5pWO wVdA== MIME-Version: 1.0 X-Received: by 10.66.102.66 with SMTP id fm2mr19334481pab.94.1385245953754; Sat, 23 Nov 2013 14:32:33 -0800 (PST) In-Reply-To: <8b9e38b9-4793-4cde-ae77-99c31380c4d1@googlegroups.com> References: <8b9e38b9-4793-4cde-ae77-99c31380c4d1@googlegroups.com> Date: Sun, 24 Nov 2013 09:32:33 +1100 Subject: Re: stuck at this from so much time,need help....please .. From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1385245963 news.xs4all.nl 15954 [2001:888:2000:d::a6]:42299 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:60327 On Sun, Nov 24, 2013 at 9:29 AM, Bhanu Karthik wrote: > sorry its not command its data.... > > I miss wrote it here... Okay. Start by copying and pasting your actual code, and saying what you're doing to trigger it. If this is a stream socket (eg TCP), you have no way of knowing where one read will end and the next start, so you'll need to do some kind of buffering and splitting. Also, please use something better than Google Groups; your posts are looking rather ugly, and it's the fault of your client rather than yourself. ChrisA