Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!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.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'portable': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'sqlite': 0.09; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'differ': 0.18; 'url:home': 0.18; 'trying': 0.22; 'os,': 0.22; 'bit': 0.23; '2015': 0.23; 'header:X-Complaints-To:1': 0.26; 'appreciated.': 0.27; 'figure': 0.27; "i'm": 0.29; 'record': 0.29; 'system?': 0.29; 'environment': 0.29; 'random': 0.29; 'selection': 0.29; 'query': 0.31; 'operations': 0.31; 'running': 0.34; 'to:addr:python-list': 0.35; 'done': 0.35; 'too': 0.36; 'quite': 0.37; 'charset:us-ascii': 0.37; 'received:org': 0.38; 'whatever': 0.39; 'to:addr:python.org': 0.39; 'system.': 0.39; 'some': 0.40; 'even': 0.61; 'simple': 0.61; 'between': 0.65; 'elsewhere': 0.66; 'anywhere.': 0.84; 'dennis': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: (unknown) Date: Mon, 22 Jun 2015 09:02:11 -0400 Organization: IISS Elusive Unicorn References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-79-222-44.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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1434978142 news.xs4all.nl 2951 [2001:888:2000:d::a6]:41824 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93003 On Sun, 21 Jun 2015 17:08:47 +0000, "John T. Haggerty" declaimed the following: >I'm looking to just have a simple program that will do a SQLite query pull >a random record and then copy that record too the clipboard the system. I'm >not quite seeing how to do this perhaps this is already been done elsewhere >but I spent quite a bit of time trying to figure out how to do that and I'm >not seeing a listing anywhere. any help would be greatly appreciated. And with which part are you having difficulty? The SQLite query? The random selection of a record from the result set? The system clipboard (what system? clipboard operations are not portable between OS, and may even differ some with whatever environment is running on the OS). -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/