Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #43671
| Path | csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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 | UNSURE 0.307 |
| X-Spam-Level | *** |
| X-Spam-Evidence | '*H*': 0.66; '*S*': 0.27; 'cc:addr:python-list': 0.11; 'alot': 0.16; 'comma': 0.16; 'im:': 0.16; 'received:159': 0.16; 'subject:howto': 0.16; 'subject:remove': 0.16; 'wrote:': 0.18; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'voting': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; '>': 0.26; 'subject:the': 0.34; 'received:google.com': 0.35; 'thanks': 0.36; 'message-id:@gmail.com': 0.38; 'how': 0.40; 'remove': 0.60; 'reply': 0.66; 'url:a': 0.72; 'charset:gb2312': 0.80; 'democracy': 0.84; 'x-mailer:foxmail 6, 15, 201, 22 [cn]': 0.84; '+0800': 0.91; 'reply,': 0.93; 'url:nbsp': 0.93; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:cc:references:subject:message-id:x-mailer :mime-version:content-type; bh=fayWJYbKVy7jCfbeoIty3w+ojUjGsWpWmXsSfz5vKNg=; b=MQkBpA+XMpzEsV681aYhASKLn0uEE/+aXvmLofljv09ej7tos0vbRdOjMzLWfXhhat lHWfBgZu2b4WNXUp8xL84ntfPb965g+oXm6TJ6JCCwzzXv6eqckBBRenaPG7zG3G0bH1 b88GNYO5++RTOwekBgVurRrtes+3qEBo+6NdJPtC/eAHtn8e2DaW/T3rwTzBUwvawvl2 tHUlIGZ7CejBX+O33URc/J5ZpiyYLewE/kUrh+Ve2wHbufbivf2e5Jt5a1tP3KQ3aN1L 49EIyR1+tuh5OsSSk3pZ1cP4hUq26lKGapjwQmYD1Syp2WmU3ntq6fliHhcxBwLnOIYo sz4w== |
| X-Received | by 10.66.102.65 with SMTP id fm1mr14630622pab.164.1365968026790; Sun, 14 Apr 2013 12:33:46 -0700 (PDT) |
| Date | Mon, 15 Apr 2013 03:33:43 +0800 |
| From | "pyth0n3r" <pyth0n3r@gmail.com> |
| To | "D'Arcy J.M. Cain" <darcy@druid.net> |
| References | <20130414151749.29608713@imp> |
| Subject | Re: Re: howto remove the thousand separator |
| X-mailer | Foxmail 6, 15, 201, 22 [cn] |
| Mime-Version | 1.0 |
| Content-Type | multipart/alternative; boundary="=====003_Dragon635216443215_=====" |
| X-Mailman-Approved-At | Tue, 16 Apr 2013 17:08:30 +0200 |
| Cc | python-list <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 <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.664.1366124911.3114.python-list@python.org> (permalink) |
| Lines | 84 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1366124911 news.xs4all.nl 2690 [2001:888:2000:d::a6]:36425 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:43671 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi D'A,
Thanks alot for your reply, it works for me perfectly.
Best,
Chen
On Mon, 15 Apr 2013 02:57:35 +0800
"pyth0n3r" <pyth0n3r@gmail.com> wrote:
> float(). How can i remove the comma in int data? Any reply will be
int(n.replace(',', ''))
--
D'Arcy J.M. Cain <darcy@druid.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 788 2246 (DoD#0082) (eNTP) | what's for dinner.
IM: darcy@Vex.Net, VOIP: sip:darcy@Vex.Net
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Re: howto remove the thousand separator "pyth0n3r" <pyth0n3r@gmail.com> - 2013-04-15 03:33 +0800
csiph-web