Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin1!goblin.stu.neva.ru!news2.euro.net!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'lawrence': 0.09; 'received:mail-vb0-f46.google.com': 0.09; 'sep': 0.09; '1):': 0.16; '1:08': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'itertools': 0.16; 'wrote:': 0.17; 'thu,': 0.17; 'received:209.85.212.46': 0.18; 'import': 0.21; 'work.': 0.23; 'this:': 0.23; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'received:209.85.212': 0.28; 'skip:l 40': 0.33; 'to:addr:python- list': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'received:209': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2XqolTo46vO0BGSh7xWAMEu6jlPxMu8SP7z4aLLwYsM=; b=CtL8wzhEU34UrfcopLelIxePNeBDonZKRfeN3jgQVb0Qv2rMKCoPIVQD7BHuCXTuE8 CApnYpqSUO+68suv9i1IPq9cFNi/nUKZPZQqa//16LzWBEx/Tb8Gjricafd/ip2ho7ne KLxWv00w5bwawLNpc1fCJOKRFVAv90Q6od1FuUMJdmgrI9Q6NtvjEzrBGewlrjDckB25 M343HednbF4SKL27qkcUeuumCHJJtq35YiGcVE1lUSEkDMwfCkTtstlqjHJwXAxGxoej 1YVVy5Y1zHUVJoB7Bf6LU1jDmHi+CjqftxbOXXqKu+ORB1pOvgUFC/4i/zZRO+QBODXK C1BA== MIME-Version: 1.0 In-Reply-To: References: <5062ad83$0$29997$c3e8da3$5496439d@news.astraweb.com> <693ac61b-b1d3-4192-9e50-5166fd119278@googlegroups.com> <447851a9-bc63-4711-a4e6-bff565e28f1f@googlegroups.com> <2b2d20f5-2807-4a61-b284-8075e900db22@googlegroups.com> Date: Thu, 27 Sep 2012 01:18:25 +1000 Subject: Re: Article on the future of Python From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 1348672708 news.xs4all.nl 6874 [2001:888:2000:d::a6]:45698 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:30214 On Thu, Sep 27, 2012 at 1:08 AM, Mark Lawrence wrote: > for _ in range(-inf, +inf, 1): print(FUD) That'll never work. Try this: import itertools list(map(print,itertools.cycle(('FUD',)))) ChrisA