Received: by 10.236.175.233 with SMTP id z69mr7742642yhl.26.1347285266752; Mon, 10 Sep 2012 06:54:26 -0700 (PDT) X-BeenThere: pyodbc@googlegroups.com Received: by 10.236.126.33 with SMTP id a21ls2393464yhi.3.gmail; Mon, 10 Sep 2012 06:54:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.181.234 with SMTP id l70mr1627818yhm.5.1347285266413; Mon, 10 Sep 2012 06:54:26 -0700 (PDT) Authentication-Results: ls.google.com; spf=pass (google.com: domain of desolatech...@gmail.com designates internal as permitted sender) smtp.mail=desolatech...@gmail.com; dkim=pass header...@gmail.com Received: by d6g2000yqd.googlegroups.com with HTTP; Mon, 10 Sep 2012 06:54:26 -0700 (PDT) Date: Mon, 10 Sep 2012 06:54:26 -0700 (PDT) User-Agent: G2/1.0 X-HTTP-Via: 1.1 EMATMG01 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB7.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; MS-RTC LM 8; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.3),gzip(gfe) Message-ID: Subject: Print Cursor Output question From: james simpson To: pyodbc Content-Type: text/plain; charset=ISO-8859-1 I think there's a simple answer but displaying my ignorance here. I'm using Python 2.7.3 IDLW with pydoc 3x I think I've connected to my SQL Server 2005 and my SQL is good. How do I display the actual data returned from my fetch? Been searching for several hours but no joy... Thanks. Jamie >>> cursor.execute("select * from project") row = cursor.fetchone() if row: print row >>>