Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!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.056 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'cursor': 0.09; 'satisfy': 0.09; 'cc:addr:python-list': 0.10; 'subject:python': 0.11; 'weird': 0.15; 'to:addr:web.de': 0.16; 'string': 0.17; 'wrote:': 0.17; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'looks': 0.26; 'executing': 0.27; 'message-id:@mail.gmail.com': 0.27; 'received:209.85.212': 0.28; 'concern': 0.29; 'optional': 0.29; 'code': 0.31; 'could': 0.32; 'print': 0.32; 'received:google.com': 0.34; 'returning': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'subject:with': 0.36; 'does': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'skip:" 10': 0.40; 'header:Received:5': 0.40; 'email addr:gmail.com': 0.63; 'induce': 0.84; 'otten': 0.84; 'alone.': 0.91; 'us?': 0.91; 'yours.': 0.93 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 :cc:content-type; bh=Gm1w6GvMGy7xXycdUrKFXUy8wp9VSn8JamBIYW4GwDU=; b=bonnpWc5KA/klSYsabAszz39top6pIYiDGoQDrkuJdKxijCq9gn/OICD8YcppxqJNw B+J2Ksqb+qF2iLYdkyTmkKqyXT/hkMwNiGK1aq8D4tdov+OMCXeyuV+FIaHsGiVeKvD9 QyUhdb3cxcsNVXQpSAuUuWqIQ7lUL3UeOMPmL6VtSXk3pZiFSUvQMLrXFR9Y3v7xctAW yu3/t6A8lVcgFODUejm02ZRNbx9tsKWKiz0+0jO7EZypWSnZ0J9db8t1IhW3Q9OHGNfQ w6Co2q0iZl+24iEs2TfkGwGAlKKFTJCsGW3EfeD50sG7sUtrFIHS46Ox0KF4MZ/Urs7N UiXg== MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 21 Sep 2012 11:50:35 -0500 Subject: Re: how to do draw pattern with python? From: =?UTF-8?Q?Ismael_Farf=C3=A1n?= To: Peter Otten <__peter__@web.de> Content-Type: text/plain; charset=UTF-8 Cc: python-list@python.org 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348246237 news.xs4all.nl 6847 [2001:888:2000:d::a6]:35895 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:29652 2012/9/21 Peter Otten <__peter__@web.de>: > echo.hping@gmail.com wrote: > > print "\x1b[2J\x1b[0;0H" # optional Nice code : ) Could you dissect that weird string for us? It isn't returning the cursor to (0,0), it's just like executing clear(1), and looks like those line coloring scape sequences for bash. Ismael -- Do not let me induce you to satisfy my curiosity, from an expectation, that I shall gratify yours. What I may judge proper to conceal, does not concern myself alone.