Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.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.021 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'subject:: [': 0.04; 'element': 0.07; 'eat': 0.16; 'received:10.20.200': 0.16; 'received:209.225': 0.16; 'received:209.225.8': 0.16; 'received:charter.net': 0.16; 'subject:array': 0.16; 'wrote:': 0.18; 'subject:] ': 0.20; 'putting': 0.22; 'header:User-Agent:1': 0.23; 'header:In-Reply-To:1': 0.27; 'received:24': 0.27; 'am,': 0.29; 'lines': 0.31; 'that.': 0.31; "they'll": 0.31; 'file': 0.32; 'received:10.20': 0.33; 'something': 0.35; 'received:209': 0.37; 'received:10': 0.37; 'message-id:@gmail.com': 0.38; 'e.g.': 0.38; 'to:addr:python-list': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'dave': 0.60; 'numbers': 0.61; 'teach': 0.65; 'angel': 0.91 X-Authority-Analysis: v=2.0 cv=Q7eKePKa c=1 sm=1 a=LkTX9YPXWU1lnSxlYEpgVg==:17 a=zewopLiEtFcA:10 a=yugF6m9Srv0A:10 a=nDghuxUhq_wA:10 a=8nJEP1OIZ-IA:10 a=pGLkceISAAAA:8 a=VFG9cJC8f3jbZ7XgissA:9 a=wPNLvfGTeEIA:10 a=LkTX9YPXWU1lnSxlYEpgVg==:117 Date: Tue, 25 Mar 2014 11:40:26 -0500 From: Mark H Harris User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 Newsgroups: comp.lang.python To: python-list@python.org Subject: Re: [newbie] confusion concerning fetching an element in a 2d-array References: <82a05fdc-1f5c-4c9b-9718-09930977268c@googlegroups.com> <53316211$0$29994$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: , Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395772454 news.xs4all.nl 2840 [2001:888:2000:d::a6]:60349 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69051 On 3/25/14 9:42 AM, Dave Angel wrote: >> All I need is a little python-example reading a file with e.g. three lines >> with three numbers per line and putting those numbers as floats in a >> 3x3-numpy_array, then selecting an element from that numpy_array using >> it's row and column-number. > > If your instructor wanted you to copy examples, he would have > given you one. {ouch} Give them a toad they'll have warts all day; teach them to eat a toad they'll never have warts again... or something like that. marcus