Path: csiph.com!news.swapon.de!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeder.erje.net!1.eu.feeder.erje.net!bcyclone05.am1.xlned.com!bcyclone05.am1.xlned.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; '"a"': 0.09; 'message- id:@4ax.com': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:using': 0.09; 'subject:python': 0.14; 'thu,': 0.15; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'url:home': 0.18; '2015': 0.20; 'sep': 0.22; 'code,': 0.23; '(or': 0.23; "doesn't": 0.26; 'example': 0.26; 'header:X-Complaints- To:1': 0.26; 'print': 0.30; 'code': 0.30; 'maybe': 0.33; '-0700': 0.33; 'interface,': 0.33; 'there': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'method': 0.37; 'received:org': 0.37; 'charset:us-ascii': 0.37; 'anything': 0.38; 'to:addr:python.org': 0.40; 'your': 0.60; 'email addr:gmail.com': 0.62; 'dennis': 0.91; 'received:108': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: querying hive database using python Date: Thu, 24 Sep 2015 21:33:24 -0400 Organization: IISS Elusive Unicorn References: <7ea90b3f-5d25-4c70-ac65-40ce140e4564@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-68-178-61.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES 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: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1443144814 news.xs4all.nl 23855 [2001:888:2000:d::a6]:59502 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 2964 X-Received-Body-CRC: 2573106702 Xref: csiph.com comp.lang.python:97111 On Thu, 24 Sep 2015 06:49:23 -0700 (PDT), heenameena1234@gmail.com declaimed the following: >a = hive_client.execute(query) >a = list(a) 1) if "hive_client" behaves anything like a DB-API interface, "a" is maybe a result code, if anything... Is there a .fetch() method for "hive_client"? 2) your example code doesn't print (or anything else) with "a" -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/