Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.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.068 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.01; 'cc:addr:python-list': 0.11; 'pythonic': 0.16; 'subject:howto': 0.16; 'subject:remove': 0.16; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'subject:the': 0.34; 'received:google.com': 0.35; 'version': 0.36; 'more': 0.64; 'received:mail-wi0-x229.google.com': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=r1cDMYzNvGDALntx8dT7mzbDocpJdb0jZbgYITjvRsE=; b=PJQhTjJzaxVGN3s+BqIXA7yscBxBdK2aFWE+8CqeLCYljUtfHKG9bIZfoUoSA8sYE1 37dPSJahh0TSi7BSZjojbZSe/G/Dx+CG/B2W7sV40jA6r2tBG7FaJS32Teywu092/iBr Fo2FRPtQw9udM80ArZPSKQvsrJ3eMMx+xjQfQVb7Rdba7Fa2yURmgx/bh1b5orldp8Bm u7ejTf3T8jTE5jhQjadja1Hij7oF2iWMGi+u7f3Yy5Oyd4SIKpQgeqUhKr5shC6ML/Nq gMP8T2Q6FoloMniZVtu9jEWv2YX0aapzvy3woEiFsaQA1R1e0pCgTT2FsND64tGWPIKA pMCw== MIME-Version: 1.0 X-Received: by 10.194.119.33 with SMTP id kr1mr23048465wjb.36.1365967348056; Sun, 14 Apr 2013 12:22:28 -0700 (PDT) In-Reply-To: <516B00A4.7070503@lightbird.net> References: <201304150257331336590@gmail.com> <516B00A4.7070503@lightbird.net> Date: Sun, 14 Apr 2013 12:22:27 -0700 Subject: Re: howto remove the thousand separator From: Mark Janssen To: Mitya Sirenef Content-Type: text/plain; charset=ISO-8859-1 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: 5 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1365967675 news.xs4all.nl 2701 [2001:888:2000:d::a6]:58351 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:43578 > I would do int(num.replace(',', '')) That's much more pythonic than my C-ish version Mark