Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #43574
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <pyth0n3r@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.129 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.75; '*S*': 0.00; "','": 0.16; 'comma': 0.16; 'received:159': 0.16; 'separator,': 0.16; 'subject:howto': 0.16; 'subject:remove': 0.16; 'to:name:python-list': 0.33; 'subject:the': 0.34; 'problem': 0.35; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'received:google.com': 0.35; 'charset :us-ascii': 0.36; 'hi,': 0.36; 'received:209': 0.37; 'message- id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'remove': 0.60; 'such': 0.63; 'reply': 0.66; 'x-mailer:foxmail 6, 15, 201, 22 [cn]': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:x-mailer:mime-version :content-type; bh=VZPow4wINSew1hkSaj1LF5gB3KH6cxq3k9h7SUYMCNM=; b=D7KPkP3tV+FrJxgCK2OhT948QLfqx6/Zgxd1KZI4Kr+QNI+RiIbrGsCswW0BPnMWCz lP9BgHYezAAJxAmS5QnrnUKAmvZIK7p8rbXTgkcYxAUnbIc1CxTxVg2eDrREEIxCE74h mrsG0fNm/J3wkpfwJZg0hzrbUbyh+Cl/oNPs/sfdjflDDOT5FB6iVRc5xPWgmrFRJgN4 jOi3QwtVZtC0e512zL8dGOVzelgjf6SX4HQxvc1EaMmilQMCnoSHqm9cwE4olYcXRHTk cyYcTR7uExwk9iRG8jK508tXK/MkYTPmHZKy7MnJ2BB6kA1gYOIwRL5T5NU8C5TDDdaH mzRA== |
| X-Received | by 10.66.184.14 with SMTP id eq14mr25333418pac.215.1365965858595; Sun, 14 Apr 2013 11:57:38 -0700 (PDT) |
| Date | Mon, 15 Apr 2013 02:57:35 +0800 |
| From | "pyth0n3r" <pyth0n3r@gmail.com> |
| To | "python-list" <python-list@python.org> |
| Subject | howto remove the thousand separator |
| X-mailer | Foxmail 6, 15, 201, 22 [cn] |
| Mime-Version | 1.0 |
| Content-Type | multipart/alternative; boundary="=====003_Dragon004843511314_=====" |
| 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.595.1365965868.3114.python-list@python.org> (permalink) |
| Lines | 50 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1365965868 news.xs4all.nl 2708 [2001:888:2000:d::a6]:47693 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:43574 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi, I came across a problem that when i deal with int data with ',' as thousand separator, such as 12,916, i can not change it into int() or float(). How can i remove the comma in int data? Any reply will be appreciated!! Best, Chen
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
howto remove the thousand separator "pyth0n3r" <pyth0n3r@gmail.com> - 2013-04-15 02:57 +0800 Re: howto remove the thousand separator Duncan Booth <duncan.booth@invalid.invalid> - 2013-04-19 15:04 +0000
csiph-web