Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.105 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.80; '*S*': 0.01; '21,': 0.07; 'doing,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'ought': 0.16; 'exception': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'thanks.': 0.20; 'code,': 0.22; 'aug': 0.22; 'header:In-Reply- To:1': 0.27; 'correct': 0.29; "we'd": 0.29; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'are.': 0.31; 'bunch': 0.31; 'running': 0.33; 'problem': 0.35; 'subject:with': 0.35; "can't": 0.35; 'received:google.com': 0.35; 'really': 0.36; 'doing': 0.36; 'clear': 0.37; 'problems': 0.38; 'whatever': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'explain': 0.39; 'to:addr:python.org': 0.39; 'show': 0.63; 'safe': 0.72; 'obvious': 0.74; 'subject:letter': 0.84; 'trouble.': 0.91; 'remember,': 0.93; '2013': 0.98 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=Nd/yqu79r0VYRvoPw2oimNYSrwRqzh0AfKSpw2tQ4Pc=; b=foa3FvqguR2alSwH5f3JNAaAE0NR8wZpnadmisbeydzGaLsCuwwPdxRjzNALBeTtlS kKbYJ0Zp8nIBgtEQEGenSpNhZEc9EB4eEZkUalCpDradhukdbFmfqJ7dhid4c7zGbeU0 sEezdci+8o9Uk3n7vEGBMzfKcSew5wbp08t02ZQ8SeYhdUUjE3OxDozXKFWXCbpQa7Vf HDbILR8D3pvaIu1suU7aqcubuZRvF+8/1Ep22wwLu7w5H/+6K6fijLpxYkgwvfu6cHKQ zP3caPrpsIvoRNO6h5Prgp6+IgUEzlbAgWfBBoNy9SuhsG+IoRflJraxNf67i6DF0kWb 3LhA== MIME-Version: 1.0 X-Received: by 10.220.105.199 with SMTP id u7mr5477280vco.1.1377077072586; Wed, 21 Aug 2013 02:24:32 -0700 (PDT) In-Reply-To: <89146bb1-fb60-4746-93e2-6cb59cfbc432@googlegroups.com> References: <2bdbd16f-a676-4973-9866-db93b1b9cd9b@googlegroups.com> <89146bb1-fb60-4746-93e2-6cb59cfbc432@googlegroups.com> Date: Wed, 21 Aug 2013 19:24:32 +1000 Subject: Re: Replace blanks with letter 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1377077079 news.xs4all.nl 15936 [2001:888:2000:d::a6]:35665 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:52760 On Wed, Aug 21, 2013 at 5:49 PM, wrote: > Thanks. I am running into a bunch of problems with the following code, all of which are clear when running the program Some of us don't have time to just execute arbitrary code in some safe environment, so we'd REALLY rather you paste in the exception traceback (if it's throwing one), or explain what it ought to be doing that it isn't doing, or in whatever other way show what the problems actually are. Remember, what's obvious to you isn't obvious to us; what you see as an obvious problem might actually be correct behaviour, so without knowing your expectations, we can't pinpoint the trouble. ChrisA