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: 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 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 Subject: Re: Python Interview Questions References: <1193768041.349129.26350@v3g2000hsg.googlegroups.com> <3e0ef383-9615-4b4d-89c1-e5519971189f@googlegroups.com> In-Reply-To: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 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