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


Groups > comp.lang.python > #83892

Re: How to "wow" someone new to Python

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!lightspeed.eweka.nl!lightspeed.eweka.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python.list@tim.thechases.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.06; 'conventions': 0.07; 'string': 0.09; 'etc).': 0.09; 'http,': 0.09; 'oop,': 0.09; 'parameter': 0.09; 'php,': 0.09; 'processing,': 0.09; 'testing,': 0.09; 'subject:How': 0.10; '-tkc': 0.16; 'c/c++': 0.16; 'command-line': 0.16; 'csv': 0.16; 'dump': 0.16; 'easily,': 0.16; 'expressions,': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'ftp,': 0.16; 'ideally,': 0.16; 'imap,': 0.16; 'irks': 0.16; 'language?': 0.16; 'naming': 0.16; 'pdb': 0.16; 'repl': 0.16; 'smtp,': 0.16; 'stdlib.': 0.16; 'language': 0.16; 'wrote:': 0.18; 'library': 0.18; '(the': 0.22; 'programming': 0.22; 'errors.': 0.24; 'java': 0.24; 'first,': 0.26; 'world,': 0.26; 'header:In- Reply-To:1': 0.27; 'chris': 0.29; 'properties': 0.29; 'quickly': 0.29; 'thus': 0.29; 'andrew': 0.30; 'see,': 0.30; "i'm": 0.30; 'equality': 0.31; 'inspect': 0.31; 'libraries': 0.31; 'stuff': 0.32; 'option': 0.32; 'regular': 0.32; 'standards': 0.33; 'agree': 0.35; 'something': 0.35; 'etc': 0.35; 'but': 0.35; 'there': 0.35; 'object,': 0.36; 'charset:us-ascii': 0.36; 'should': 0.36; 'so,': 0.37; 'received:10': 0.37; 'being': 0.38; 'subject:new': 0.38; 'to:addr:python-list': 0.38; 'stock': 0.39; 'subject:" ': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'worry': 0.60; 'networking': 0.64; 'more': 0.64; 'great': 0.65; 'details': 0.65; 'within': 0.65; 'world': 0.66; 'market': 0.66; 'prompt': 0.68; 'lack': 0.78
X-Sender-Id wwwh|x-authuser|tim@thechases.com
X-Sender-Id wwwh|x-authuser|tim@thechases.com
X-MC-Relay Neutral
X-MailChannels-SenderId wwwh|x-authuser|tim@thechases.com
X-MailChannels-Auth-Id wwwh
X-MC-Loop-Signature 1421426250685:3552763980
X-MC-Ingress-Time 1421426250286
Date Fri, 16 Jan 2015 10:39:28 -0600
From Tim Chase <python.list@tim.thechases.com>
To python-list@python.org
Subject Re: How to "wow" someone new to Python
In-Reply-To <CAPTjJmpTbbj=Dqc6PN-ec4n6-WdFjpSAzwawObSd3Dvwbkpi=A@mail.gmail.com>
References <CAPTjJmpTbbj=Dqc6PN-ec4n6-WdFjpSAzwawObSd3Dvwbkpi=A@mail.gmail.com>
X-Mailer Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu)
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-AuthUser tim@thechases.com
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.17801.1421431000.18130.python-list@python.org> (permalink)
Lines 35
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1421431000 news.xs4all.nl 2890 [2001:888:2000:d::a6]:42320
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 5228
X-Received-Body-CRC 2354058095
Xref csiph.com comp.lang.python:83892

Show key headers only | View raw


On 2015-01-17 02:03, Chris Angelico wrote:
> 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?

First, I agree with Andrew Berg's suggestion about the breadth of the
stdlib.  This always irks me when I have to return to the C/C++
world where there's no standard library for things like networking
(and thus no stock libraries for IMAP, SMTP, HTTP, FTP, etc or
email-message handling), CSV processing, regular expressions,
zip/tar/zlib files, SHA1/MD5, command-line option processing,
threading, and no available-everywhere GUI.  In the Java world, it
feels like much of this is available, but that the glommed-on
standards have multiple ways to do them (the old way(s) and the
new/improved way).  In PHP, well...that's just PHP (difficult-to-grok
equality testing, inconsistent naming conventions and parameter
ordering, lack of namespacing, easy-to-screw-up string interpolation,
hacky OOP, etc).

My fast-introduction go-to items are dir() and help() within the REPL
interface.  Nothing speeds up my development like being able to
drop to a PDB prompt and inspect an object, ask what properties it
supports, dump them, get help on them, etc.

There's also the bigint stuff that means I don't have to worry about
over/underflow errors.

I'm sure there are more great ideas, but how you market might depend
on your audience's background in programming (what language did they
use and what pain-points did they experience).

-tkc

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


Thread

Re: How to "wow" someone new to Python Tim Chase <python.list@tim.thechases.com> - 2015-01-16 10:39 -0600

csiph-web