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


Groups > comp.lang.python > #54526

Re: What minimum should a person know before saying "I know Python"

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: What minimum should a person know before saying "I know Python"
Date 2013-09-20 22:31 -0400
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-0DE919.22310420092013@news.panix.com> (permalink)
References (1 earlier) <97f90924-7690-442c-a1b3-4d7409e30d44@googlegroups.com> <mailman.182.1379684366.18130.python-list@python.org> <31648467-19e8-484c-995d-1e5ba48b5ea3@googlegroups.com> <771f2126-883f-40de-8df0-93c79061305f@googlegroups.com> <mailman.192.1379694881.18130.python-list@python.org>

Show all headers | View raw


In article <mailman.192.1379694881.18130.python-list@python.org>,
 Chris Angelico <rosuav@gmail.com> wrote:

> On Sat, Sep 21, 2013 at 2:28 AM, Aseem Bansal <asmbansal2@gmail.com> wrote:
> > I hope that cleared some confusion about what I wanted to ask. I wanted to 
> > gauge myself to find if I am progressing or not.
> 
> Well, based on my definition, that's easy to answer. Have you solved
> problems using Python? If you have a bunch of HTML pages and you need
> to get some info out of all of them by COB today, do you think "I can
> do that with Python", or do you think "I can do that with sed, awk,
> grep, and five levels of pipe"? The tools you use for an urgent job
> will be the ones you know.

The fact that you reach for traditional command-line tools to parse HTML 
should not be taken as evidence that you don't know Python.  It should 
be taken as evidence that you have a lot of tools in your quiver and 
know when to use the right one.

I started with Python in the 1.4 days.  I will reach for Python these 
days in preference to Perl, Tcl, C, C++, Java, or PHP for most things.  
But, for a lot of basic text processing, I can throw together a sed, 
awk, grep, sort, uniq, wc, tac, tail, etc pipeline faster than I can 
write a Python program to do the same thing.

Oh, and by the way, the python.org home page has

$ curl -s python.org | tr ' ' '\n' | grep ^href= | wc -l
     124

124 links on it.

You're still reading the BeautifulSoup docs :-)

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


Thread

What minimum should a person know before saying "I know Python" Aseem Bansal <asmbansal2@gmail.com> - 2013-09-20 02:58 -0700
  Re: What minimum should a person know before saying "I know Python" rusi <rustompmody@gmail.com> - 2013-09-20 04:43 -0700
    Re: What minimum should a person know before saying "I know Python" Robert Kern <robert.kern@gmail.com> - 2013-09-20 14:39 +0100
      Re: What minimum should a person know before saying "I know Python" rusi <rustompmody@gmail.com> - 2013-09-20 08:50 -0700
        Re: What minimum should a person know before saying "I know Python" Aseem Bansal <asmbansal2@gmail.com> - 2013-09-20 09:28 -0700
          Re: What minimum should a person know before saying "I know Python" Chris Angelico <rosuav@gmail.com> - 2013-09-21 02:34 +1000
            Re: What minimum should a person know before saying "I know Python" Aseem Bansal <asmbansal2@gmail.com> - 2013-09-20 10:40 -0700
              Re: What minimum should a person know before saying "I know Python" Aseem Bansal <asmbansal2@gmail.com> - 2013-09-20 10:51 -0700
              Re: What minimum should a person know before saying "I know Python" Chris Angelico <rosuav@gmail.com> - 2013-09-21 12:06 +1000
              Re: What minimum should a person know before saying "I know Python" Gene Heskett <gheskett@wdtv.com> - 2013-09-21 02:22 -0400
              Re: What minimum should a person know before saying "I know Python" Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-09-22 12:44 -0400
            Re: What minimum should a person know before saying "I know Python" Roy Smith <roy@panix.com> - 2013-09-20 22:31 -0400
              Re: What minimum should a person know before saying "I know Python" Chris Angelico <rosuav@gmail.com> - 2013-09-21 12:54 +1000
  Re: What minimum should a person know before saying "I know Python" Tim Chase <python.list@tim.thechases.com> - 2013-09-20 06:53 -0500
  Re: What minimum should a person know before saying "I know Python" Chris Angelico <rosuav@gmail.com> - 2013-09-21 00:26 +1000
  Re: What minimum should a person know before saying "I know Python" Mark Janssen <dreamingforward@gmail.com> - 2013-09-20 09:23 -0700
  Re: What minimum should a person know before saying "I know Python" Jugurtha Hadjar <jugurtha.hadjar@gmail.com> - 2013-09-20 18:07 +0100
  Re: What minimum should a person know before saying "I know Python" Terry Reedy <tjreedy@udel.edu> - 2013-09-20 18:26 -0400
  Re: What minimum should a person know before saying "I know Python" Gene Heskett <gheskett@wdtv.com> - 2013-09-22 14:55 -0400
  Re: What minimum should a person know before saying "I know Python" Gene Heskett <gheskett@wdtv.com> - 2013-09-22 15:48 -0400
  Re: What minimum should a person know before saying "I know Python" Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-09-22 23:29 -0400
  Re: What minimum should a person know before saying "I know Python" Gene Heskett <gheskett@wdtv.com> - 2013-09-23 00:10 -0400
  Re: What minimum should a person know before saying "I know Python" CM <cmpython@gmail.com> - 2013-09-23 19:34 -0700
  Re: What minimum should a person know before saying "I know Python" Schneider <js@globe.de> - 2013-09-26 12:16 +0200

csiph-web