Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #54528
| References | (2 earlier) <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> <roy-0DE919.22310420092013@news.panix.com> |
|---|---|
| Date | 2013-09-21 12:54 +1000 |
| Subject | Re: What minimum should a person know before saying "I know Python" |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.213.1379732077.18130.python-list@python.org> (permalink) |
On Sat, Sep 21, 2013 at 12:31 PM, Roy Smith <roy@panix.com> wrote: > 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, absolutely! I never said that sed/awk/grep was a bad way to do things; my point is that, when there are dozens of viable solutions to a problem and you have to solve that problem *now*, you are going to reach for the one you know best. I use sed all the time (it's one of the easiest ways to edit a root-owned file from a non-root shell script - 'sudo sed -i'). ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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