Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsreader4.netcologne.de!news.netcologne.de!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!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.011 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'attribute': 0.07; 'already.': 0.09; 'item,': 0.09; 'self.data': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; '24,': 0.16; 'array.': 0.16; 'fine.': 0.16; 'gpg': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'trying': 0.19; 'work,': 0.20; 'cc:addr:python.org': 0.22; 'file.': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'compare': 0.26; 'query': 0.26; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'skip:q 20': 0.31; 'class': 0.32; 'table': 0.34; 'could': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'url:org': 0.36; 'pm,': 0.38; 'structure': 0.39; 'how': 0.40; 'from:charset:utf-8': 0.61; 'to:addr:gmail.com': 0.65; 'saving': 0.69; 'sara': 0.84; 'url:tk': 0.95; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=9ur6Swx/n+P8NmA5hGfx5QGSv5W8s/QNvKh/T+9+Kb0=; b=whAr2d+HvF4zbc+2YdokwRNQ5KfV12X9u+wF7YvZeBmpw83ZjozD2+X/MJN1XKAy83 GEYLNqzcO4Ujk5pe9voUIvi0+QB6kJ02y+e/mCvyjkpeu9mR34B3b/UdMWdCcMxMEYi2 pelTYN8azeVjbPKyEBt0P4ld0V6oXnVK1Y7c4F9y/FH9TYhcDWdz2Z2Es+NH5QARci+u vaxhZG+sgHDtKPXuVPaYt7EU9ty1mMKu+NDEjd/ofq5ivM6Rzavpw/stcwO4Sl5EsbDR Hf9x+VjPAY8dWx7KSSjKGiRtDwRIX8zJ52/Fwa/Gwna87zYDIQnNVyxMmB9Xt1q78bd/ CdKQ== X-Received: by 10.50.50.71 with SMTP id a7mr28403160igo.14.1366826266721; Wed, 24 Apr 2013 10:57:46 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <5c8ead62-ebc8-429c-a531-9592a958983d@googlegroups.com> References: <1a87f00d-636d-4795-80d5-7bf196d1177f@googlegroups.com> <5c8ead62-ebc8-429c-a531-9592a958983d@googlegroups.com> From: =?UTF-8?B?Q2hyaXMg4oCcS3dwb2xza2HigJ0gV2Fycmljaw==?= Date: Wed, 24 Apr 2013 19:57:26 +0200 Subject: Re: QTableWidget updating columns in a single row To: Sara Lochtie Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1366826275 news.xs4all.nl 15905 [2001:888:2000:d::a6]:50044 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44281 On Wed, Apr 24, 2013 at 7:12 PM, Sara Lochtie wrot= e: > So that is where I am stuck. I don't how to compare them and I am trying = to avoiding saving the data to a file. To a file? Just store it in a class attribute and you will be fine. You have it in self.data already. Unless that structure doesn=E2=80=99t wo= rk, then =E2=80=9Cmirror=E2=80=9D your table in a Python array. (alternatively= , you could query QTableWidgetItem.text() for every existing item, but that=E2=80=99s crazy.) -- Kwpolska | GPG KEY: 5EAAEA16 stop html mail | always bottom-post http://asciiribbon.org | http://caliburn.nl/topposting.html