Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'example:': 0.03; 'element': 0.07; 'puts': 0.07; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.11; 'csv': 0.16; 'subject:CSV': 0.16; 'subject:array': 0.16; 'cc:addr:gmail.com': 0.22; 'separate': 0.22; 'cc:addr:python.org': 0.22; 'print': 0.22; 'cc:2**1': 0.23; 'header:User-Agent:1': 0.23; 'cc:no real name:2**0': 0.24; 'header :In-Reply-To:1': 0.27; 'array': 0.29; 'file:': 0.31; 'position.': 0.33; 'could': 0.34; 'received:google.com': 0.35; 'pick': 0.64 X-Received: by 10.49.122.37 with SMTP id lp5mr619263qeb.3.1365787745984; Fri, 12 Apr 2013 10:29:05 -0700 (PDT) Newsgroups: comp.lang.python Date: Fri, 12 Apr 2013 10:29:05 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=95.92.175.80; posting-account=37ULnAoAAABw71rR4ndGDrmbiRWlgXUJ References: <2506a155-40b6-4040-bc12-a08ce0d79cd7@googlegroups.com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 95.92.175.80 MIME-Version: 1.0 Subject: Re: CSV to matrix array From: =?ISO-8859-1?Q?Ana_Dion=EDsio?= To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org, =?ISO-8859-1?Q?Ana_Dion=EDsio?= 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: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365787753 news.xs4all.nl 2629 [2001:888:2000:d::a6]:55794 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:43474 That only puts the data in one column, I wanted to separate it. For example: data in csv file: 1 2 3 4 5 7 8 9 10 11 a b c d e I wanted an array where I could pick an element in each position. In the case above if I did print array[0][3] it would pick 4