Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Laura Creighton Newsgroups: comp.lang.python Subject: Re: Problem to read from array Date: Sat, 21 Nov 2015 16:05:20 +0100 Lines: 12 Message-ID: References: <2141d7ae-1064-49f3-bf36-ff663fca0ffc@googlegroups.com> <201511211422.tALEMtE0032395@fido.openend.se> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: news.uni-berlin.de EVZ1CydP0De3lhBEKz2Hhgme15HGXJNw/JwB6Mdh5NhQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '(so': 0.07; 'cc:addr :python-list': 0.09; 'creighton': 0.09; 'exit.': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; 'python': 0.10; 'times,': 0.13; 'arrays,': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'happily': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:Problem': 0.16; 'subject:array': 0.16; 'laura': 0.18; '2015': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**2': 0.20; 'trying': 0.22; 'bit': 0.23; 'sat,': 0.23; 'cc:addr:gmail.com': 0.24; "doesn't": 0.26; 'error': 0.27; 'bad.': 0.29; 'received:se': 0.29; 'post': 0.31; 'point': 0.33; 'errors,': 0.33; 'nov': 0.35; 'but': 0.36; 'subject:: ': 0.37; 'charset:us-ascii': 0.37; 'why': 0.39; 'subject:from': 0.39; 'header:Message-Id:1': 0.61; 'telling': 0.61; 'skip:n 10': 0.62; 'course': 0.62; 'more': 0.63; 'news': 0.68; 'discover': 0.73; 'article': 0.77; '>you': 0.84; 'hardly': 0.84; 'header:In-reply-to:1': 0.84; 'subject:read': 0.84; 'cc:no real name:2**2': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openend.se; s=default; t=1448118322; bh=HfD4c1BkVJVRc+mjZLZQhQmZ8nSpVs58+XuToczC0Hw=; h=To:cc:From:Subject:In-reply-to:References:Date:From; b=k1jFWGipUY1bEAqDYRv3GEx7z5CLWULJsWLdwoXiiJJ4PE6j0hsHp8p6N0/kysTLL lJj5McMWW1MtWnNyjcLyVAJnCqAsJlnA3S5mYPyHtuowqFo8eOB1wwFNwECP9YIKW/ YRrPkvGhZ0NQAZaEKDWRRx8L62QFPbVPANhkknGo= In-reply-to: <201511211422.tALEMtE0032395@fido.openend.se> Comments: In-reply-to Laura Creighton message dated "Sat, 21 Nov 2015 15:22:55 +0100." Content-ID: <3002.1448118320.1@fido> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Sat, 21 Nov 2015 16:05:22 +0100 (CET) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:99213 In a message of Sat, 21 Nov 2015 15:22:55 +0100, Laura Creighton writes: >At this point you might get a bit frustrated. Python is happily telling >you that you don't have a newarray[0][0] which is hardly news to you who >was trying to initialise the thing. My bad. I was thinking about 2 dimentional arrays, but of course that error is just that newarray[0] doesn't exit. (So why is it that I can read an article 3 times, find no more errors, post it, and _then_ discover one?!) Laura