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


Groups > comp.lang.python > #25088

Re: Python Interview Questions

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.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; 'python,': 0.02; 'exception': 0.03; 'syntax': 0.03; 'argument': 0.04; 'subject:Python': 0.05; 'classes,': 0.05; 'bits': 0.07; 'unittest': 0.07; 'python': 0.09; 'added.': 0.09; 'high-level': 0.09; 'truncated': 0.09; 'yeah,': 0.09; 'cc:addr:python-list': 0.10; ':-)': 0.13; 'do,': 0.15; '(like': 0.15; 'essential': 0.15; "hasn't": 0.15; '"import': 0.16; '"python': 0.16; '-tkc': 0.16; 'csv': 0.16; 'debugging,': 0.16; 'delimiters': 0.16; 'foo"': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'history:': 0.16; 'included"': 0.16; 'it".': 0.16; 'message-id:@tim.thechases.com': 0.16; 'new- style': 0.16; 'pdb': 0.16; 'pythonic': 0.16; 'received:70.251': 0.16; 'received:dsl.rcsntx.swbell.net': 0.16; 'received:rcsntx.swbell.net': 0.16; 'received:swbell.net': 0.16; 'roy': 0.16; 'silly': 0.16; 'sqlite3': 0.16; 'version?': 0.16; 'zipfile': 0.16; 'wrote:': 0.17; 'certainly': 0.17; 'pieces': 0.17; 'tim': 0.18; '>>>': 0.18; 'appears': 0.18; 'module': 0.19; 'code.': 0.20; 'skip:= 10': 0.20; 'decorators': 0.22; 'libraries': 0.22; 'subject:Questions': 0.22; "i'd": 0.22; 'cc:2**0': 0.23; 'programming': 0.23; 'somebody': 0.23; "i've": 0.23; 'cc:no real name:2**0': 0.24; 'allows': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'older': 0.27; 'order.': 0.27; 'question': 0.27; '(such': 0.27; 'chase': 0.29; 'piece': 0.29; 'questions.': 0.29; 'manual': 0.29; 'this.': 0.29; 'worked': 0.30; 'stuff': 0.30; 'expect': 0.31; 'code': 0.31; 'file': 0.32; 'much.': 0.33; 'skip:j 20': 0.33; 'along': 0.35; 'open': 0.35; 'something': 0.35; 'there': 0.35; 'ability': 0.36; 'but': 0.36; 'enough': 0.36; 'possible': 0.37; 'october': 0.37; 'being': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'object': 0.38; 'your': 0.60; 'skip:u 10': 0.60; 'most': 0.61; 'between': 0.63; 'details': 0.63; 'more': 0.63; 'smith': 0.71; 'gotten': 0.75; 'satisfied': 0.83; 'basics.': 0.84; 'hardly': 0.84; 'heh.': 0.84; 'received:50.22': 0.84; 'subject:Interview': 0.84; 'zen': 0.84; 'careful': 0.91
Date Mon, 09 Jul 2012 12:40:59 -0500
From Tim Chase <python.list@tim.thechases.com>
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111120 Icedove/3.1.16
MIME-Version 1.0
To Roy Smith <roy@panix.com>
Subject Re: Python Interview Questions
References <1193768041.349129.26350@v3g2000hsg.googlegroups.com> <mailman.658.1193771958.13605.python-list@python.org> <3e0ef383-9615-4b4d-89c1-e5519971189f@googlegroups.com> <roy-6F3A08.09254409072012@news.panix.com>
In-Reply-To <roy-6F3A08.09254409072012@news.panix.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - boston.accountservergroup.com
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - tim.thechases.com
X-Source
X-Source-Args
X-Source-Dir
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1952.1341855595.4697.python-list@python.org> (permalink)
Lines 63
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1341855595 news.xs4all.nl 6929 [2001:888:2000:d::a6]:36017
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:25088

Show key headers only | View raw


On 07/09/12 08:25, Roy Smith wrote:
>> On Tuesday, 30 October 2007 21:24:04 UTC+2, Tim Chase  wrote:
> 
>>> - more detailed questions about the std. libraries (such as
>>>    datetime/email/csv/zipfile/networking/optparse/unittest)
> 
> You need to be careful when you ask questions like this.  I would expect 
> somebody to be aware of those and have a high-level understanding of 
> what they do, but certainly not remember the details of the exact syntax 
> and argument order.  Even with stuff I use everyday (like unittest and 
> datetime), I have a browser open to the reference manual most of the 
> time.

Yeah, the aim isn't to grill them on the minutia, but to get a
feeling that they know the basics.  The zipfile module offers a
ZipFile object for reading/writing zip files with or without
compression.  The CSV file allows for reading/writing CSV files with
definable delimiters and quoting/escaping.  Etc.


>>> - questions about PDB
> 
> Heh.  I would answer that with, "Python Debugger?  I've never used it".

The ability to know off the top of your head that it's the "Python
Debugger" is more than enough :-)  That's just first-order
ignorance:  you know what you don't know and can spend a few minutes
reading up on it if you need it.  The second[or higher]-order
ignorance of not knowing what pdb is (or, if you need more powerful
debugging, how to do it) is sign the person hasn't been programming
in Python much.

>>> Python History:
>>> ===============
>>> - decorators added in which version?
>>>
>>> - "batteries included" SQL-capible DB in which version?
>>>
>>> - the difference between "class Foo" and "class Foo(object)"
>>>
>>> - questions from "import this" about pythonic code
> 
> With the exception of the question about new-style classes, these are 
> silly questions.  I was around when both decorators and sqlite3 were 
> added.  I couldn't possible tell you when to any precision better than 
> "2 dot something". 

I'd even be satisfied if a person just knew that such features
weren't there all along and might need to be worked around for older
deployments.

> As for the zen of python, it's cute, and a piece of python
> folklore, but hardly an essential part of being a good python p

[Ed: something appears to have gotten truncated there]  Yeah, it's
more about a person being sufficiently steeped in python to know
bits and pieces of the zen, and their ability to recognize/create
pythonic code.  I've seen enough Java-written-in-Python to know what
I don't want :-)

-tkc

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


Thread

Re: Python Interview Questions yeryomin.igor@gmail.com - 2012-07-08 23:39 -0700
  Re: Python Interview Questions Tim Chase <python.list@tim.thechases.com> - 2012-07-09 06:07 -0500
  Re: Python Interview Questions Roy Smith <roy@panix.com> - 2012-07-09 09:25 -0400
    Re: Python Interview Questions Tim Chase <python.list@tim.thechases.com> - 2012-07-09 12:40 -0500
      Re: Python Interview Questions Rick Johnson <rantingrickjohnson@gmail.com> - 2012-07-09 11:44 -0700
        Re: Python Interview Questions Cameron Simpson <cs@zip.com.au> - 2012-07-10 09:05 +1000
      Re: Python Interview Questions Demian Brecht <demianbrecht@gmail.com> - 2012-07-09 13:11 -0700
        Re: Python Interview Questions Peter <peter.milliken@gmail.com> - 2012-07-09 14:22 -0700
          Re: Python Interview Questions Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-07-09 18:53 -0400
          Re: Python Interview Questions Christian Heimes <lists@cheimes.de> - 2012-07-10 01:33 +0200
            Re: Python Interview Questions Roy Smith <roy@panix.com> - 2012-07-09 19:40 -0400
              Re: Python Interview Questions Christian Heimes <lists@cheimes.de> - 2012-07-10 02:02 +0200
              Re: Python Interview Questions rusi <rustompmody@gmail.com> - 2012-07-09 23:29 -0700
            Re: Python Interview Questions Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-07-10 07:33 +0000
              Re: Python Interview Questions Christian Heimes <lists@cheimes.de> - 2012-07-10 10:11 +0200
                Re: Python Interview Questions Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-07-10 16:51 +0000
                Re: Python Interview Questions Chris Angelico <rosuav@gmail.com> - 2012-07-11 02:59 +1000
                Re: Python Interview Questions Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-07-10 17:41 +0000
              Re: Python Interview Questions Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-07-10 10:45 +0100
              Re: Python Interview Questions rusi <rustompmody@gmail.com> - 2012-07-10 08:01 -0700
              Re: Python Interview Questions Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-07-10 13:12 -0400
              Re: Python Interview Questions Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-07-10 18:50 +0100
                Re: Python Interview Questions Demian Brecht <demianbrecht@gmail.com> - 2012-07-10 11:08 -0700
                Re: Python Interview Questions Robert Miles <robertmiles@teranews.com> - 2012-08-15 01:19 -0500
          Re: Python Interview Questions Tim Chase <python.list@tim.thechases.com> - 2012-07-09 18:37 -0500
          Re: Python Interview Questions Emile van Sebille <emile@fenx.com> - 2012-07-09 16:56 -0700
          Re: Python Interview Questions Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-07-10 02:23 +0100
          RE: Python Interview Questions Shambhu Rajak <Shambhu.Rajak@kpitcummins.com> - 2012-07-10 05:08 +0000
          Re: Python Interview Questions Chris Angelico <rosuav@gmail.com> - 2012-07-10 18:03 +1000
          Re: Python Interview Questions Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-07-10 10:42 +0100
          Re: Python Interview Questions "BartC" <bc@freeuk.com> - 2012-07-10 16:55 +0100
            Re: Python Interview Questions Chris Angelico <rosuav@gmail.com> - 2012-07-11 02:05 +1000
          Re: Python Interview Questions Stefan Behnel <stefan_ml@behnel.de> - 2012-07-11 06:05 +0200
        Re: Python Interview Questions Peter <peter.milliken@gmail.com> - 2012-07-09 14:22 -0700
          Re: Python Interview Questions Roy Smith <roy@panix.com> - 2012-07-09 19:08 -0400
      Re: Python Interview Questions Demian Brecht <demianbrecht@gmail.com> - 2012-07-09 13:11 -0700

csiph-web