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


Groups > comp.lang.python > #84012 > unrolled thread

Re: How to "wow" someone new to Python

Started byNed Batchelder <ned@nedbatchelder.com>
First post2015-01-19 08:34 -0500
Last post2015-01-19 08:34 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How to "wow" someone new to Python Ned Batchelder <ned@nedbatchelder.com> - 2015-01-19 08:34 -0500

#84012 — Re: How to "wow" someone new to Python

FromNed Batchelder <ned@nedbatchelder.com>
Date2015-01-19 08:34 -0500
SubjectRe: How to "wow" someone new to Python
Message-ID<mailman.17851.1421674492.18130.python-list@python.org>
On 1/16/15 10:03 AM, Chris Angelico wrote:
> Scenario: You're introducing someone to Python for the first time.
> S/he may have some previous programming experience, or may be new to
> the whole idea of giving a computer instructions. You have a couple of
> minutes to show off how awesome Python is. What do you do?
>
> I was thinking along the lines of a simple demo in the REPL, showing
> off some of Python's coolest features. But then I got stuck on the
> specifics. What are Python's best coolnesses? What makes for a good
> demo?
>
> Ideally, this should be something that can be demo'd quickly and
> easily, and it should be impressive without going into great details
> of "and see, this is how it works on the inside". So, how would you
> brag about this language?
>
> ChrisA
>

Peter Norvig's spell corrector is a compact example of a lot of Python 
power: http://norvig.com/spell-correct.html

I used it as a walk-through example for a presentation about Python at 
the DevDays conference: http://nedbatchelder.com/text/devdays.html

The second half of the presentation is a 25-line nano-templating engine 
which shows off some other good characteristics of the language.

-- 
Ned Batchelder, http://nedbatchelder.com

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web