[Tutor] Speed it up...

2010-05-27 Thread trias
Hi, I have wrote the following lines that work fine, but are quite slow, are there any obvious things I can consider to speed things up? Thanks import MySQLdb import scipy import csv dbtest=MySQLdb.connect(host="***",user="***",passwd="***") cursor=dbtest.cursor() cursor.execute("""SEL

[Tutor] import data (txt/csv) into list/array and manipulation

2008-11-10 Thread trias
Hi, I have started learning python (any online help content suggestions are welcome) and want to write a couple of scripts to do simple numeric calculations on array data. filetype(1) I have reference files (ie file.csv) that contain three columns with variable rows, first column is type str co

Re: [Tutor] import data (txt/csv) into list/array and manipulation

2008-11-11 Thread trias
Hi all, Thanks so much for the help, I will have a look at the suggestions as well as the other thread,links this week and should post here when I have tried them/need more help. Thanks -- View this message in context: http://www.nabble.com/import-data-%28txt-csv%29-into-list-array-and-manip

Re: [Tutor] import data (txt/csv) into list/array and manipulation

2008-11-13 Thread trias
Hi again, I got a bit better in python the last few days, but looking at some codes it almost looks impossible to catch up. but definitely want to fight it, looks well worth the effort, plus it probably works exponentially :) I read a little bit about the interval/segment trees, and it looks t

Re: [Tutor] import data (txt/csv) into list/array and manipulation

2008-11-20 Thread trias
.csv http://www.nabble.com/file/p20599488/file2.csv file2.csv Kent Johnson wrote: > > On Thu, Nov 13, 2008 at 9:50 AM, trias <[EMAIL PROTECTED]> wrote: >> PS I could maybe upload a couple of small example flies or a schematic to >> see what I mean > > A small examp

Re: [Tutor] import data (txt/csv) into list/array and manipulation

2008-11-21 Thread trias
Cool, Does anyone else have any other thoughts on this problem? -- View this message in context: http://www.nabble.com/import-data-%28txt-csv%29-into-list-array-and-manipulation-tp20424075p20623480.html Sent from the Python - tutor mailing list archive at Nabble.com. _