Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!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.112 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.78; '*S*': 0.00; 'am,': 0.13; 'wrote:': 0.15; 'secretly': 0.16; 'subject:print': 0.16; 'twisted': 0.16; 'received:209.85.210.174': 0.19; 'received:mail- iy0-f174.google.com': 0.19; 'header:In-Reply-To:1': 0.22; 'somewhere': 0.23; 'code': 0.24; 'import': 0.29; 'mind.': 0.29; 'module': 0.30; 'subject:?': 0.31; 'print': 0.32; 'chris': 0.32; 'message-id:@gmail.com': 0.32; 'to:addr:python-list': 0.34; 'header:User-Agent:1': 0.34; 'some': 0.37; 'received:192': 0.38; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.38; 'put': 0.38; 'received:192.168.1': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.40; 'did': 0.40; 'love': 0.62; '10:20': 0.84; 'out....': 0.84; 'hair': 0.91; 'wait,': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=ctKc2I9vwWriTHHI4P2aWbwviJ3RNFJAldzrr4/nU4w=; b=iKlIQju1t5QuhRrt1OeMsB3V7riAa8JOOP+cOGImOhM0zZE6IRPyhxcviU+1fR3wAV 4+sZepJbO8GRj5vg//3R6dXQBgPUGISIwe2TEe0cAc6NzpoTphi4PpAygdr7Tri5zoCU ax3Fr7HnP1gToLyLxY/SCMyI7Pvlxf4MupRss= Date: Tue, 05 Jul 2011 16:04:18 -0500 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: "comp.lang.python" Subject: Re: embedding: how do I redirect print output? References: <4e13217c$0$29993$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: X-Enigmail-Version: 1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 9 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1309899864 news.xs4all.nl 21857 [2001:888:2000:d::a6]:59908 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:8860 On 2011.07.05 10:20 AM, Chris Angelico wrote: > You, sir, have a warped and twisted mind. > > And I love it!! > > Now to secretly put code into some module somewhere and wait for > people to start tearing their hair out.... wait, did I say that out > loud? from pytroll import print