Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!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.127 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.77; '*S*': 0.02; 'subject:IDLE': 0.03; 'reply-to:addr:comp.lang.python': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr:python-list': 0.15; 'lot;': 0.16; 'cc:no real name:2**0': 0.21; 'header:In-Reply- To:1': 0.22; 'cc:2**0': 0.25; 'idle': 0.28; 'cc:addr:python.org': 0.29; "didn't": 0.30; 'thanks': 0.32; "won't": 0.33; 'header:User- Agent:1': 0.33; 'received:209.85.212': 0.34; 'running': 0.35; 'test': 0.35; 'received:google.com': 0.37; 'received:209.85': 0.38; 'received:209': 0.39; 'subject:: ': 0.39; 'helps': 0.61; 'chance': 0.62; 'header:Reply-To:1': 0.71; 'reply-to:no real name:2**0': 0.72; 'reply-to:addr:googlegroups.com': 0.74; 'tomorrow,': 0.84; 'received:209.85.212.56': 0.91; 'received:mail- vw0-f56.google.com': 0.91 Newsgroups: comp.lang.python Date: Mon, 16 Jan 2012 19:25:36 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=99.29.227.33; posting-account=En0C2QoAAABaZIRqpPv0m3w3Duh5br5m References: <11576187.1088.1326759502632.JavaMail.geo-discussion-forums@vbwl1> User-Agent: G2/1.0 X-Google-Web-Client: true MIME-Version: 1.0 Subject: Re: pymysql only works under IDLE From: Saul Spatz To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: comp.lang.python@googlegroups.com List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 1 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1326770745 news.xs4all.nl 6922 [2001:888:2000:d::a6]:40582 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:19052 Thanks a lot; I didn't know about sys.executable. For the record, IDLE is running pythonw.exe. I won't have a chance to test if this helps till tomorrow, unfortunately.