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


Groups > comp.lang.python > #84141

Re: How to "wow" someone new to Python

Path csiph.com!usenet.pasdenom.info!news.franciliens.net!fdn.fr!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <mmr15@case.edu>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'received:209.85.223': 0.03; 'subject:Python': 0.06; 'memory.': 0.07; 'steve': 0.09; 'string': 0.09; '22,': 0.09; 'integers': 0.09; 'subject:How': 0.10; 'python': 0.11; 'jan': 0.12; 'behave': 0.16; 'hayes': 0.16; 'heads.': 0.16; 'it;': 0.16; 'limit,': 0.16; 'normally,': 0.16; 'wrote:': 0.18; 'basically': 0.19; "python's": 0.19; 'thu,': 0.19; '>>>': 0.22; 'cc:addr:gmail.com': 0.22; 'to:name:python- list@python.org': 0.22; 'header:User-Agent:1': 0.23; 'either.': 0.24; 'integer': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; '(maybe': 0.31; 'worked': 0.33; 'limitation': 0.33; 'older': 0.33; 'could': 0.34; 'basic': 0.35; 'received:209.85': 0.35; 'beyond': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'useful': 0.36; 'received:209': 0.37; 'subject:new': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'ability': 0.39; 'subject:" ': 0.39; 'to:addr:python.org': 0.39; 'even': 0.60; 'most': 0.60; 'gone': 0.61; 'length': 0.61; 'numbers': 0.61; "you're": 0.61; 'first': 0.61; 'show': 0.63; 'more': 0.64; 'limit': 0.70; 'discovered': 0.83; '2015': 0.84; 'amazed': 0.84; 'so...': 0.84; 'versions)': 0.84
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=1vLvHbMQS47U+EkN9INRNs3ae1laXFlNNZc7ReVwttE=; b=LgYaKtvZVlBXVIJrb2eDGaiTnqSwvBRROCeizx8uqlxUXsKu2MdHjNKNG2sGeUVRcL C4ZkANkeVtnLakc8bXVjy4OnB/VH41DHIxpknz7KqS15byY9sbWjZOWM1vk7Kd4VRL8A EYELiz15ArcLB2w9nfJEBiKS8oHYeBAzO9YywL6F/TjitjOerTQK6yrcbO2fyX17mJ8K FEsJeklpkIuEq4G+Z/W5qRNkmkyOEfQpObtnPmcCgPnQNk9WWVgR63ZKvYwiemYOu18s jdMgVPt8ucvp7UmLjhwCgKtzyU+JC7qYWqRCGPxSaEVzM/1qiELRknUfyDRHLX3NSuuF iK8Q==
X-Gm-Message-State ALoCoQkJimeFPBzk5LDzTes39292AEXN+jnCVjdPwiHH8SvYioBfX827IddVwcTfxMkcPODsfkT0cEk1vxTwXN9RLoitskYW7HkSMdBdB/hv+byRHzZP9Ajy/qZBboh+mATTuLKYvL+F
X-Received by 10.50.85.44 with SMTP id e12mr19636621igz.48.1421875204405; Wed, 21 Jan 2015 13:20:04 -0800 (PST)
X-Received by 10.50.85.44 with SMTP id e12mr19636614igz.48.1421875204336; Wed, 21 Jan 2015 13:20:04 -0800 (PST)
From Matthew Ruffalo <mmr15@case.edu>
X-Google-Original-From Matthew Ruffalo <matthew.ruffalo@case.edu>
Date Wed, 21 Jan 2015 16:20:02 -0500
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version 1.0
To "python-list@python.org" <python-list@python.org>
Subject Re: How to "wow" someone new to Python
References <mailman.17792.1421420646.18130.python-list@python.org> <82qvba51o427s4m63agk6ghekm0btg81on@4ax.com> <54bfedf5$0$2876$e4fe514c@news.xs4all.nl> <CAPTjJmrZ42_bVHiHy2pnGUOjkmuUCimkqSDDL7fmTg-u_vJxuQ@mail.gmail.com>
In-Reply-To <CAPTjJmrZ42_bVHiHy2pnGUOjkmuUCimkqSDDL7fmTg-u_vJxuQ@mail.gmail.com>
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Junkmail-Whitelist YES (by domain whitelist at mpv1.tis.cwru.edu)
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 <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.17922.1421875588.18130.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1421875588 news.xs4all.nl 2893 [2001:888:2000:d::a6]:43483
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:84141

Show key headers only | View raw


On 01/21/2015 02:06 PM, Chris Angelico wrote:
> On Thu, Jan 22, 2015 at 5:20 AM, Irmen de Jong <irmen.NOSPAM@xs4all.nl> wrote:
>> On 21-1-2015 18:59, Steve Hayes wrote:
>>
>>> 3. When I started to look at it, I found that strings could be any length and
>>> were not limited to swomething arbitrary, like 256 characters.
>> Even more fun is that Python's primitive integer type (longs for older Python versions)
>> has no arbitrary limitation either.
>>
>> That amazed me at the time I discovered python :)
> I hadn't worked with length-limited strings in basically forever
> (technically BASIC has a length limit, but I never ran into it; and I
> never did much with Pascal), but you're right, arbitrary-precision
> integers would have impressed me a lot more if I hadn't first known
> REXX. So... is there a way to show that off efficiently? Normally, any
> calculation that goes beyond 2**32 has already gone way beyond most
> humans' ability to hold the numbers in their heads.
>
> ChrisA
Yes, length-unlimited strings are *extremely* useful in some
applications. I remember bitterly cursing Java's string length limit of
2 ** 31 (maybe - 1) on multiple occasions. Python's strings seem to
behave like integers in that their size is limited only by available memory.

MMR...

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


Thread

How to "wow" someone new to Python Chris Angelico <rosuav@gmail.com> - 2015-01-17 02:03 +1100
  Re: How to "wow" someone new to Python Marko Rauhamaa <marko@pacujo.net> - 2015-01-16 17:20 +0200
  Re: How to "wow" someone new to Python Rustom Mody <rustompmody@gmail.com> - 2015-01-16 09:16 -0800
  Re: How to "wow" someone new to Python alex23 <wuwei23@gmail.com> - 2015-01-19 16:19 +1000
  Re: How to "wow" someone new to Python wxjmfauth@gmail.com - 2015-01-21 07:15 -0800
  Re: How to "wow" someone new to Python Steve Hayes <hayesstw@telkomsa.net> - 2015-01-21 19:59 +0200
    Re: How to "wow" someone new to Python Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2015-01-21 19:20 +0100
      Re: How to "wow" someone new to Python Chris Angelico <rosuav@gmail.com> - 2015-01-22 06:06 +1100
        Re: How to "wow" someone new to Python André Roberge <andre.roberge@gmail.com> - 2015-01-21 11:20 -0800
        Re: How to "wow" someone new to Python Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2015-01-22 00:46 +0100
      Re: How to "wow" someone new to Python Matthew Ruffalo <mmr15@case.edu> - 2015-01-21 16:20 -0500
      Re: How to "wow" someone new to Python Chris Angelico <rosuav@gmail.com> - 2015-01-22 08:26 +1100
        Re: How to "wow" someone new to Python Alan Bawden <alan@scooby-doo.csail.mit.edu> - 2015-01-21 16:44 -0500
          Re: How to "wow" someone new to Python Alan Bawden <alan@scooby-doo.csail.mit.edu> - 2015-01-21 16:52 -0500
            Re: How to "wow" someone new to Python Paul Rubin <no.email@nospam.invalid> - 2015-01-21 14:35 -0800
            Re: How to "wow" someone new to Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-01-22 15:51 +1100
          Re: How to "wow" someone new to Python Mario Figueiredo <marfig@gmail.com> - 2015-01-21 23:13 +0100
      Re: How to "wow" someone new to Python Matthew Ruffalo <mmr15@case.edu> - 2015-01-21 16:46 -0500
      Re: How to "wow" someone new to Python Chris Angelico <rosuav@gmail.com> - 2015-01-22 09:22 +1100
  Re: How to "wow" someone new to Python André Roberge <andre.roberge@gmail.com> - 2015-01-21 10:34 -0800
  Re: How to "wow" someone new to Python Mario Figueiredo <marfig@gmail.com> - 2015-01-21 19:05 +0000
    Re: How to "wow" someone new to Python Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-01-22 15:39 +1100
      Re: How to "wow" someone new to Python Grant Edwards <invalid@invalid.invalid> - 2015-01-23 00:09 +0000

csiph-web