Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!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.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.05; 'valueerror:': 0.07; 'received:mail-vc0-f174.google.com': 0.09; 'dec': 0.15; 'sat,': 0.15; 'chris,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'incomplete': 0.16; 'wrote:': 0.17; 'code,': 0.18; 'suggested': 0.20; 'bit': 0.21; '"",': 0.22; 'context.': 0.22; 'tried': 0.25; 'least': 0.25; 'header:In-Reply-To:1': 0.25; '(most': 0.27; 'am,': 0.27; 'possibly': 0.27; 'message-id:@mail.gmail.com': 0.27; 'ball': 0.29; 'received:209.85.220.174': 0.29; 'that.': 0.30; 'error': 0.30; 'code': 0.31; 'file': 0.32; 'could': 0.32; 'traceback': 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'received:209.85.220': 0.35; 'received:209.85': 0.35; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'end': 0.40; 'think': 0.40; 'your': 0.60; "you'll": 0.62; 'more': 0.63; 'show': 0.63; 'here': 0.65; 'gave': 0.65; 'excessive': 0.84 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=VXVXtGKjL7ANLt2AEg1l6V/tDMjP6O6aZ0tpjBVNLwo=; b=X8pHNEH1otj91y20i9dArz2t7Sdd/GEDV9fVA8RTHw7mIWezneOK4qz4B2q+cYWU67 WxxFYMdwPCcB5a/2hot1ar1bEdOka2fcEMijxCben+X4BIUnRc+T2e/viB2GaOnX8hBW USMmy+DylIyPVl3d9vTyE0fwwrPAyQSTofaAJycn6l/Aj/FGUNlI7h+S4XEl/6CuNYEx 7gamsqqU0Ns/3d3A7gXbyaSBKg9+boEJpqSOXEeBOzh6Ie7rmJw176fut+0UCyF2p3gk C4Vrcsz2Mfbw8HKFSXpkePKXILbOB+0MFK8mT4oXysyRYuNkEJYLhz116bDu8WsGgi7I c1QQ== MIME-Version: 1.0 In-Reply-To: <596420c8-b88c-4b4d-89d9-a0c22ac7180b@googlegroups.com> References: <7fcd8949-c781-425c-b6d2-7d0a634b12b7@googlegroups.com> <596420c8-b88c-4b4d-89d9-a0c22ac7180b@googlegroups.com> Date: Sat, 29 Dec 2012 04:12:27 +1100 Subject: Re: Wrapping statements in Python in SPSS 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356714756 news.xs4all.nl 6941 [2001:888:2000:d::a6]:55470 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35708 On Sat, Dec 29, 2012 at 3:43 AM, wrote: > Chris, > > I tried placing in the format you suggested and received this error message: > > END PROGRAM. > Traceback (most recent call last): > File "", line 396, in > ValueError: incomplete format key I don't think the code I gave could produce that. You'll need to show a bit more of your code, including at least line 396, possibly some context. Unless one of the other members here has a working crystal ball - mine's cooling down after excessive use. ChrisA