Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #35708

Re: Wrapping statements in Python in SPSS

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 <rosuav@gmail.com>
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> <mailman.1397.1356711013.29569.python-list@python.org> <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 <rosuav@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1400.1356714756.29569.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Sat, Dec 29, 2012 at 3:43 AM,  <alankrinsky@gmail.com> wrote:
> Chris,
>
> I tried placing in the format you suggested and received this error message:
>
> END PROGRAM.
> Traceback (most recent call last):
>   File "<string>", line 396, in <module>
> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Wrapping statements in Python in SPSS alankrinsky@gmail.com - 2012-12-28 08:01 -0800
  Re: Wrapping statements in Python in SPSS Chris Angelico <rosuav@gmail.com> - 2012-12-29 03:10 +1100
    Re: Wrapping statements in Python in SPSS alankrinsky@gmail.com - 2012-12-28 08:43 -0800
      Re: Wrapping statements in Python in SPSS Peter Otten <__peter__@web.de> - 2012-12-28 18:07 +0100
      Re: Wrapping statements in Python in SPSS Chris Angelico <rosuav@gmail.com> - 2012-12-29 04:12 +1100
        Re: Wrapping statements in Python in SPSS alankrinsky@gmail.com - 2012-12-28 09:33 -0800
          Re: Wrapping statements in Python in SPSS Mitya Sirenef <msirenef@lightbird.net> - 2012-12-28 12:55 -0500
          Re: Wrapping statements in Python in SPSS Mitya Sirenef <msirenef@lightbird.net> - 2012-12-28 13:05 -0500
          Re: Wrapping statements in Python in SPSS Mitya Sirenef <msirenef@lightbird.net> - 2012-12-28 13:20 -0500
        Re: Wrapping statements in Python in SPSS alankrinsky@gmail.com - 2012-12-28 09:33 -0800
    Re: Wrapping statements in Python in SPSS alankrinsky@gmail.com - 2012-12-28 08:43 -0800

csiph-web