Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #84012
| From | Ned Batchelder <ned@nedbatchelder.com> |
|---|---|
| Subject | Re: How to "wow" someone new to Python |
| Date | 2015-01-19 08:34 -0500 |
| References | <CAPTjJmpTbbj=Dqc6PN-ec4n6-WdFjpSAzwawObSd3Dvwbkpi=A@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.17851.1421674492.18130.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: How to "wow" someone new to Python Ned Batchelder <ned@nedbatchelder.com> - 2015-01-19 08:34 -0500
csiph-web