Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #89549
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone02.am1.xlned.com!bcyclone02.am1.xlned.com!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!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.031 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.01; 'subject: + ': 0.07; '40,': 0.09; 'cc:addr:python-list': 0.11; '2.7': 0.14; "'to": 0.16; '__future__': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'import': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'problem': 0.35; 'subject:with': 0.35; 'received:google.com': 0.35; 'pm,': 0.38; 'determine': 0.67; '2015': 0.84; 'subject:Using': 0.84; 'fibonacci': 0.91; 'to:none': 0.92 |
| 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:cc :content-type; bh=vyWT0hCwohrMeeTFm1ZfCzsU5q7ss79XQigOZduUFIw=; b=zPxgIrOwJmeBJoYWqblE88hQG6GEL6dbATSYJguhR9R/xNE6ZPlt0z8MGih1Nfq5jP dunhnLodV0dDOrKTNBgHpwvDYuut0z569h76aeoAnYhsgymVALf06X1aEW02YMEucXkA 7+RQOwpMe/CQOP2iFfyF88/t2oDU4pbIExOwBYE10dd7GSwQGHDxqSKa2/0g3/YVjZqg /2IGRdhfHnWlgAn2at+W5mOEg//F9TC2NrB7fLL+GqLEXHowVKOqBYNVGFppWQ+abs2N tefxyAbs1H0Hta/KD1b3LQo+BbGsu4buERbJ/BGSjRWAHhqi6ViRGYN8U1J6B4XQJwg+ ALhQ== |
| MIME-Version | 1.0 |
| X-Received | by 10.43.39.1 with SMTP id tk1mr1128972icb.26.1430312160121; Wed, 29 Apr 2015 05:56:00 -0700 (PDT) |
| In-Reply-To | <87egn3ced3.fsf@Equus.decebal.nl> |
| References | <878udbxrpg.fsf@Equus.decebal.nl> <mailman.79.1430299516.3680.python-list@python.org> <87egn3ced3.fsf@Equus.decebal.nl> |
| Date | Wed, 29 Apr 2015 22:55:59 +1000 |
| Subject | Re: Using + with strings considered bad |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.85.1430312164.3680.python-list@python.org> (permalink) |
| Lines | 13 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1430312164 news.xs4all.nl 2905 [2001:888:2000:d::a6]:36535 |
| X-Complaints-To | abuse@xs4all.nl |
| X-Received-Bytes | 3206 |
| X-Received-Body-CRC | 849152589 |
| Xref | csiph.com comp.lang.python:89549 |
Show key headers only | View raw
On Wed, Apr 29, 2015 at 10:23 PM, Cecil Westerhof <Cecil@decebal.nl> wrote:
> In 2.7 that gives:
> ('Calculating fibonacci and fibonacci_memoize once for', 40, 'to determine speed increase')
>
> So I am going to use the one above it.
Start your script with:
from __future__ import print_function
Problem solved! :)
ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Using + with strings considered bad Cecil Westerhof <Cecil@decebal.nl> - 2015-04-29 10:29 +0200
Re: Using + with strings considered bad Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-04-29 10:08 +0100
Re: Using + with strings considered bad Peter Otten <__peter__@web.de> - 2015-04-29 11:24 +0200
Re: Using + with strings considered bad Cecil Westerhof <Cecil@decebal.nl> - 2015-04-29 13:17 +0200
Re: Using + with strings considered bad Cecil Westerhof <Cecil@decebal.nl> - 2015-04-29 14:23 +0200
Re: Using + with strings considered bad Chris Angelico <rosuav@gmail.com> - 2015-04-29 22:55 +1000
Re: Using + with strings considered bad Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-04-29 23:15 +1000
Re: Using + with strings considered bad wxjmfauth@gmail.com - 2015-04-29 08:16 -0700
Re: Using + with strings considered bad Andrew Berg <aberg010@my.hennepintech.edu> - 2015-04-29 06:40 -0500
csiph-web