Re: Python Interview Questions

2019-01-10 Thread lingmaaki
Python Interview Questions and answers... http://net-informations.com/python/iq/default.htm -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Interview Questions

2017-10-18 Thread lingmaaki
Hope this will help you http://net-informations.com/python/iq/default.htm -- https://mail.python.org/mailman/listinfo/python-list

Re: Top Python Interview Questions

2017-05-27 Thread alister
On Sat, 27 May 2017 14:15:07 +1000, Chris Angelico wrote: > On Sat, May 27, 2017 at 12:19 PM, Steve D'Aprano > wrote: >> On Sat, 27 May 2017 09:37 am, Chris Angelico wrote: >> >>> On Sat, May 27, 2017 at 8:56 AM, Larry Martell >>> >>> wrote: If they write a loop with range(1,10) they are go

Re: Top Python Interview Questions

2017-05-26 Thread Chris Angelico
On Sat, May 27, 2017 at 12:19 PM, Steve D'Aprano wrote: > On Sat, 27 May 2017 09:37 am, Chris Angelico wrote: > >> On Sat, May 27, 2017 at 8:56 AM, Larry Martell >> wrote: >>> If they write a loop with range(1,10) they are going in the 'no' pile. >>> If they write a loop with range(1,11) they go

Re: Top Python Interview Questions

2017-05-26 Thread Steve D'Aprano
On Sat, 27 May 2017 09:37 am, Chris Angelico wrote: > On Sat, May 27, 2017 at 8:56 AM, Larry Martell > wrote: >> If they write a loop with range(1,10) they are going in the 'no' pile. >> If they write a loop with range(1,11) they go in the maybe pile >> If the write sum([i*i for i in range(1,11)]

Re: Top Python Interview Questions

2017-05-26 Thread Chris Angelico
On Sat, May 27, 2017 at 8:56 AM, Larry Martell wrote: > If they write a loop with range(1,10) they are going in the 'no' pile. > If they write a loop with range(1,11) they go in the maybe pile > If the write sum([i*i for i in range(1,11)]) and sqrt(sum([i for i in > range(1,11)])) they are going i

Re: Top Python Interview Questions

2017-05-26 Thread Larry Martell
On Fri, May 26, 2017 at 1:03 AM, Aarusha wrote: > PYTHON INTERVIEW QUESTIONS > > Mindmajix has compiled Python Interview questions which would benefit the > learners to attend the Python interviews. > > Q. How is Python executed? > > Python files are compiled to bytecode

Re: Top Python Interview Questions

2017-05-26 Thread Akira Li
Terry Reedy writes: > On 5/26/2017 1:03 AM, Aarusha wrote: >> PYTHON INTERVIEW QUESTIONS >> >> Mindmajix has compiled Python Interview questions which would >> benefit the learners to attend the Python interviews. >> >> Q. How is Python executed? > >

Re: Top Python Interview Questions

2017-05-26 Thread Rustom Mody
On Friday, May 26, 2017 at 12:28:30 PM UTC+5:30, Steve D'Aprano wrote: > On Fri, 26 May 2017 03:32 pm, Terry Reedy wrote: > > >> Python files are compiled to bytecode. > > > > CPython compiles to cpython bytecode. > > Jython compiles to Java. > > Iron Python compiles to C#. > > Technically, they

Re: Top Python Interview Questions

2017-05-26 Thread Steve D'Aprano
On Fri, 26 May 2017 03:32 pm, Terry Reedy wrote: >> Python files are compiled to bytecode. > > CPython compiles to cpython bytecode. > Jython compiles to Java. > Iron Python compiles to C#. Technically, they compile to the JVM byte code and the .Net Common Runtime (I forget the three letter acro

Re: Top Python Interview Questions

2017-05-25 Thread Terry Reedy
On 5/26/2017 1:03 AM, Aarusha wrote: PYTHON INTERVIEW QUESTIONS Mindmajix has compiled Python Interview questions which would benefit the learners to attend the Python interviews. Q. How is Python executed? It depends on the implementation (interpreter or compiler). Python files are

Top Python Interview Questions

2017-05-25 Thread Aarusha
PYTHON INTERVIEW QUESTIONS Mindmajix has compiled Python Interview questions which would benefit the learners to attend the Python interviews. Q. How is Python executed? Python files are compiled to bytecode. which is then executed by the host. Alternate Answer: Type python .pv at the command

Re: Python Interview Questions

2013-09-23 Thread Roy Smith
Somebody, whose identity has been lost in three-deep quoting, said: > > > I am now appearing for Job Interviews these days and I am > > > wondering if anybody of you appeared for a Python > > > Interview. Can you please share the questions you were > > > asked. That will be great help to me. We ha

Re: Python Interview Questions

2013-09-22 Thread elisha . java
On Tuesday, October 30, 2007 12:24:04 PM UTC-7, Tim Chase wrote: > > I have used Python for a couple of projects last year and > > I found it extremely useful. I could write two middle size > > projects in 2-3 months (part time). Right now I am a bit > > rusty and trying to catch up again with P

Re: Python Interview Questions

2012-11-20 Thread Jean-Michel Pichavant
- Original Message - > Use a set when you want to represent a collection of items and the > order > is not important: An important feature of sets is that their items are unique. set(list(...)) is a good shortcut to remove duplicate in a list. JM -- IMPORTANT NOTICE: The contents of

Re: Python Interview Questions

2012-11-19 Thread Roy Smith
In article <50aac66c$0$29983$c3e8da3$54964...@news.astraweb.com>, Steven D'Aprano wrote: > I'm asking about the case where one might want the key to remain mutable > even after it is used as a key, but can't because Python won't let you. Ah. Now I see what you're getting at. Thank you. Well

Re: Python Interview Questions

2012-11-19 Thread Roy Smith
In article <50aac3d8$0$29983$c3e8da3$54964...@news.astraweb.com>, Steven D'Aprano wrote: > By the way, your news client seems to be mangling long URLs, by splitting > them when they exceed the maximum line length. Hmmm. So it did. My bad. -- http://mail.python.org/mailman/listinfo/python-li

RE: Python Interview Questions

2012-11-19 Thread Prasad, Ramit
Roy Smith wrote: > > OK, I've just read back over the whole thread. I'm really struggling to > understand what point you're trying to make. I started out by saying: > > > Use a list when you need an ordered collection which is mutable (i.e. > > can be altered after being created). Use a tuple

Re: Python Interview Questions

2012-11-19 Thread Steven D'Aprano
On Mon, 19 Nov 2012 09:59:19 -0500, Roy Smith wrote: > OK, I've just read back over the whole thread. I'm really struggling to > understand what point you're trying to make. I started out by saying: > >> Use a list when you need an ordered collection which is mutable (i.e. >> can be altered aft

Re: Python Interview Questions

2012-11-19 Thread Steven D'Aprano
On Mon, 19 Nov 2012 09:30:54 -0500, Roy Smith wrote: > In article <50a9e5cf$0$21863$c3e8da3$76491...@news.astraweb.com>, > Steven D'Aprano wrote: > >> I see. It wasn't clear from your earlier description that the items had >> been post-processed from collections of raw log lines to fixed record

Re: Python Interview Questions

2012-11-19 Thread Terry Reedy
On 11/19/2012 9:30 AM, Roy Smith wrote: Our requirements are to scan the logs of a production site and filter down the gobs and gobs of output (we produced 70 GB of log files yesterday) into something small enough that a human can see what the most common failures were. The tool I wrote does th

Re: Python Interview Questions

2012-11-19 Thread Ian Kelly
On Mon, Nov 19, 2012 at 7:30 AM, Roy Smith wrote: > In article <50a9e5cf$0$21863$c3e8da3$76491...@news.astraweb.com>, > Steven D'Aprano wrote: >> >> By the way, based on the sample data you show, your script is possibly >> broken. You don't record either the line number that raises, or the >> ex

Re: Python Interview Questions

2012-11-19 Thread Roy Smith
OK, I've just read back over the whole thread. I'm really struggling to understand what point you're trying to make. I started out by saying: > Use a list when you need an ordered collection which is mutable (i.e. > can be altered after being created). Use a tuple when you need an > immutabl

Re: Python Interview Questions

2012-11-19 Thread Roy Smith
In article <50a9e5cf$0$21863$c3e8da3$76491...@news.astraweb.com>, Steven D'Aprano wrote: > I see. It wasn't clear from your earlier description that the items had > been post-processed from collections of raw log lines to fixed records. Well, I did provide the code that does this. > But it d

Re: Python Interview Questions

2012-11-19 Thread Terry Reedy
On 11/19/2012 1:01 AM, Ian Kelly wrote: than tuple access. Tuples are as fast as or faster than lists, pretty much universally. They seem to have closed the gap a bit in Python 3.3, though, as the following timings show. For one-shot construction, tuples seem to be more efficient for short se

Re: Python Interview Questions

2012-11-18 Thread Steven D'Aprano
On Sun, 18 Nov 2012 21:09:36 -0500, Roy Smith wrote: > In article <50a97de0$0$29983$c3e8da3$54964...@news.astraweb.com>, > Steven D'Aprano wrote: > > >> > The stack that's returned is a list. It's inherently a list, per the >> > classic definition: >> >> Er, no, it's inherently a blob of mul

Re: Python Interview Questions

2012-11-18 Thread Ian Kelly
On Sun, Nov 18, 2012 at 7:42 PM, Mark Lawrence wrote: > To throw a chiseldriver into the works, IIRC a tuple is way faster to create > but accessing a list is much faster. The obvious snag is that may have been > Python 2.7 whereas 3.3 is completely different. Sorry but I'm currently > wearing m

Re: Python Interview Questions

2012-11-18 Thread Mark Lawrence
On 19/11/2012 02:09, Roy Smith wrote: The theorist understands that a chisel and a screwdriver were intended for different purposes, but the pragmatist gets the paint can open. To throw a chiseldriver into the works, IIRC a tuple is way faster to create but accessing a list is much faster.

Re: Python Interview Questions

2012-11-18 Thread Chris Angelico
On Mon, Nov 19, 2012 at 1:09 PM, Roy Smith wrote: > The theorist understands that a chisel and a screwdriver were intended > for different purposes, but the pragmatist gets the paint can open. A good tool can always be used in ways its inventor never intended - and it will function as its user ex

Re: Python Interview Questions

2012-11-18 Thread Roy Smith
In article <50a97de0$0$29983$c3e8da3$54964...@news.astraweb.com>, Steven D'Aprano wrote: > > The stack that's returned is a list. It's inherently a list, per the > > classic definition: > > Er, no, it's inherently a blob of multiple text lines. No, it's a list that looks like (taken from the

Re: Python Interview Questions

2012-11-18 Thread Steven D'Aprano
On Sun, 18 Nov 2012 12:53:50 -0500, Roy Smith wrote: > I've got a script which trolls our log files looking for python stack > dumps. For each dump it finds, it computes a signature (basically, a > call sequence which led to the exception) and uses this signature as a > dictionary key. Here's th

Re: Python Interview Questions

2012-11-18 Thread Chris Angelico
On Mon, Nov 19, 2012 at 4:16 AM, D'Arcy J.M. Cain wrote: > On 18 Nov 2012 16:50:52 GMT > Steven D'Aprano wrote: >> On Sun, 18 Nov 2012 08:53:25 -0500, Roy Smith wrote: >>> > Use a list when you need an ordered collection which is mutable >> > (i.e. can be altered after being created). Use a tupl

Re: Python Interview Questions

2012-11-18 Thread Roy Smith
In article <50a911ec$0$29978$c3e8da3$54964...@news.astraweb.com>, Steven D'Aprano wrote: > Oh I'm sorry, did something I say suggest that the couple of examples I > gave are the *only* acceptable uses? My apologies for not giving an > exhaustive list of every possible use of lists and tuples,

Re: Python Interview Questions

2012-11-18 Thread D'Arcy J.M. Cain
On 18 Nov 2012 16:50:52 GMT Steven D'Aprano wrote: > On Sun, 18 Nov 2012 08:53:25 -0500, Roy Smith wrote: >> > Use a list when you need an ordered collection which is mutable > > (i.e. can be altered after being created). Use a tuple when you > > need an immutable list (such as for a dictionary k

Re: Python Interview Questions

2012-11-18 Thread Steven D'Aprano
On Sun, 18 Nov 2012 08:53:25 -0500, Roy Smith wrote: > In article <50a8acdc$0$29978$c3e8da3$54964...@news.astraweb.com>, > Steven D'Aprano wrote: > >> Use a list when you want a list of items that should all be treated the >> same way [...] or when you need a collection of items where the order

Re: Python Interview Questions

2012-11-18 Thread Roy Smith
In article <50a8acdc$0$29978$c3e8da3$54964...@news.astraweb.com>, Steven D'Aprano wrote: > Use a list when you want a list of items that should all be treated the > same way [...] or when you need a collection of items where the order they > are in is > important: > > Use a tuple when you wan

Re: Python Interview Questions

2012-11-18 Thread Steven D'Aprano
On Sat, 17 Nov 2012 10:01:01 -0800, chinjannisha wrote: > Hi I had one doubt.. I know very little bit of python .I wanted to know > when to use list,tuple,dictionary and set? Please reply me asap Use a list when you want a list of items that should all be treated the same way: list_of_numbers =

Re: Python Interview Questions

2012-11-17 Thread chinjannisha
Hi I had one doubt.. I know very little bit of python .I wanted to know when to use list,tuple,dictionary and set? Please reply me asap thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Interview Questions

2012-09-06 Thread MRAB
On 06/09/2012 05:24, Kushal Kumaran wrote: On Wed, Sep 5, 2012 at 3:11 PM, Stephen Anto wrote: On Wed, Sep 5, 2012 at 2:10 PM, Kushal Kumaran wrote: On Wed, Sep 5, 2012 at 12:20 PM, wrote: > On Tuesday, October 30, 2007 11:44:01 PM UTC+5:30, Krypto wrote: >> Hi, >> >> I have used Python fo

Re: Python Interview Questions

2012-09-05 Thread Kushal Kumaran
On Wed, Sep 5, 2012 at 3:11 PM, Stephen Anto wrote: > On Wed, Sep 5, 2012 at 2:10 PM, Kushal Kumaran > wrote: >> >> On Wed, Sep 5, 2012 at 12:20 PM, wrote: >> > On Tuesday, October 30, 2007 11:44:01 PM UTC+5:30, Krypto wrote: >> >> Hi, >> >> >> >> I have used Python for a couple of projects las

Re: Python Interview Questions

2012-09-05 Thread Chris Angelico
On Thu, Sep 6, 2012 at 2:40 AM, Ian Kelly wrote: > On Wed, Sep 5, 2012 at 9:34 AM, Chris Angelico wrote: >> On Thu, Sep 6, 2012 at 1:22 AM, Ian Kelly wrote: >>> The lack of an ORDER BY is the least of the problems with that SQL. >>> He's also using LIMIT without OFFSET, so the only thing that th

Re: Python Interview Questions

2012-09-05 Thread Roy Smith
In article , Ian Kelly wrote: > My mistake. I didn't even know there was a two-arg form of LIMIT. > Must be a MySQL thing. :-) What are you talking about? SQL is an ISO Standard. Therefore, all implementations work the same way. Didn't you get the memo? -- http://mail.python.org/mailman/l

Re: Python Interview Questions

2012-09-05 Thread Roy Smith
In article , Ian Kelly wrote: > It's a bit sad that these are touted as answers to interview > questions. I wouldn't hire anybody who gave answers like these. Over time, I've become convinced that most interview questions are crap. The best programming interview questions always start with,

Re: Python Interview Questions

2012-09-05 Thread Ian Kelly
On Wed, Sep 5, 2012 at 9:34 AM, Chris Angelico wrote: > On Thu, Sep 6, 2012 at 1:22 AM, Ian Kelly wrote: >> The lack of an ORDER BY is the least of the problems with that SQL. >> He's also using LIMIT without OFFSET, so the only thing that the >> 'item' argument changes is how many rows are retur

Re: Python Interview Questions

2012-09-05 Thread Roy Smith
In article , charvigro...@gmail.com wrote: > Hi Guys, > > Finally I have decided to put best interview question and answers. > > Please visit http://www.f2finterview.com/web/CorePython/ for core python and > http://www.f2finterview.com/web/PythonAdvanced/ for advanced python I was going to co

Re: Python Interview Questions

2012-09-05 Thread Dave Angel
On 09/05/2012 11:34 AM, Chris Angelico wrote: > On Thu, Sep 6, 2012 at 1:22 AM, Ian Kelly wrote: >> The lack of an ORDER BY is the least of the problems with that SQL. >> He's also using LIMIT without OFFSET, so the only thing that the >> 'item' argument changes is how many rows are returned (all

Re: Python Interview Questions

2012-09-05 Thread Chris Angelico
On Thu, Sep 6, 2012 at 1:22 AM, Ian Kelly wrote: > The lack of an ORDER BY is the least of the problems with that SQL. > He's also using LIMIT without OFFSET, so the only thing that the > 'item' argument changes is how many rows are returned (all but one of > which are ignored), not which one is a

Re: Python Interview Questions

2012-09-05 Thread Ian Kelly
On Wed, Sep 5, 2012 at 8:34 AM, Chris Angelico wrote: > I wouldn't go that far. The 'name' parameter, I would expect, would be > a constant. The 'item' parameter, though, is probably not a constant, and it's interpolated just the same. > However, this strikes me as encouraging some really > inef

Re: Python Interview Questions

2012-09-05 Thread Chris Angelico
On Thu, Sep 6, 2012 at 12:34 AM, Chris Angelico wrote: > However, this strikes me as encouraging some really > inefficient code, like iterating over all the rows in a table with N+1 > queries (one to get the length, then a separate query for each row). Huh. And then I scroll down, and that's prec

Re: Python Interview Questions

2012-09-05 Thread Chris Angelico
On Thu, Sep 6, 2012 at 12:21 AM, Peter Otten <__pete...@web.de> wrote: > charvigro...@gmail.com wrote: > >> Finally I have decided to put best interview question and answers. >> >> Please visit http://***/web/CorePython/ for core python >> and http://***/web/PythonAdvanced/ for advanced python > >

Re: Python Interview Questions

2012-09-05 Thread Peter Otten
charvigro...@gmail.com wrote: > Finally I have decided to put best interview question and answers. > > Please visit http://***/web/CorePython/ for core python > and http://***/web/PythonAdvanced/ for advanced python Hm, are you a reformed PHP programmer who has never heard of sql injection atta

Re: Python Interview Questions

2012-09-05 Thread Kushal Kumaran
On Wed, Sep 5, 2012 at 12:20 PM, wrote: > On Tuesday, October 30, 2007 11:44:01 PM UTC+5:30, Krypto wrote: >> Hi, >> >> I have used Python for a couple of projects last year and I found it >> extremely useful. I could write two middle size projects in 2-3 months >> (part time). Right now I am a b

Re: Python Interview Questions

2012-09-04 Thread charvigroups
Hi Guys, Finally I have decided to put best interview question and answers. Please visit http://www.f2finterview.com/web/CorePython/ for core python and http://www.f2finterview.com/web/PythonAdvanced/ for advanced python On Tuesday, October 30, 2007 11:44:01 PM UTC+5:30, Krypto wrote: > Hi, >

Re: Python Interview Questions

2012-08-14 Thread Robert Miles
On 7/10/2012 1:08 PM, Demian Brecht wrote: I also judge candidates on their beards (http://www.wired.com/wiredenterprise/2012/06/beard-gallery/). If the beard's awesome enough, no questions needed. They're pro. You should hire me quickly, then, since I have a beard, already turning partly gr

Re: Python Interview Questions

2012-07-10 Thread Stefan Behnel
Mark Lawrence, 10.07.2012 11:42: > I recall reading in a book in the local library > of a manager that wouldn't employ people unless they were wearing a new > pair of shoes. Guess they didn't take many people on. Managers tend to like wasting resources. Buying a new pair of shoes for each job int

Re: Python Interview Questions

2012-07-10 Thread Rick Johnson
On Jul 10, 4:29 am, Jean-Michel Pichavant wrote: > Why would you want to hire someone that knows something pointless as the > version where feature X has been introduced ? Just tell him that feature > X has been introducted in version Y, costless 2.5sec training. Don't you > want to hire someone t

Re: Python Interview Questions

2012-07-10 Thread David Robinow
On Tue, Jul 10, 2012 at 1:02 PM, Ethan Furman wrote: ... > > Reminds me of a job posting a few years ago where the prospective employer > wanted three plus years experience in some language, and that language had > only been created a year and a half before. I saw several of those when Java was n

Re: Python Interview Questions

2012-07-10 Thread Ian Kelly
On Tue, Jul 10, 2012 at 4:26 PM, Dennis Lee Bieber wrote: > On Tue, 10 Jul 2012 09:05:50 -0700, Ethan Furman > declaimed the following in gmane.comp.python.general: > >> As an example from today, if someone claimed to have 5+ years of Python >> experience, but didn't know that 'with' was standard

Re: Python Interview Questions

2012-07-10 Thread Demian Brecht
I also judge candidates on their beards (http://www.wired.com/wiredenterprise/2012/06/beard-gallery/). If the beard's awesome enough, no questions needed. They're pro. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Interview Questions

2012-07-10 Thread Mark Lawrence
On 10/07/2012 18:12, Dennis Lee Bieber wrote: On 10 Jul 2012 07:33:59 GMT, Steven D'Aprano declaimed the following in gmane.comp.python.general: may not be capable of telling the difference between a cheese sandwich and a box of hair -- and even the *good* interviewers are probably making

Re: Python Interview Questions

2012-07-10 Thread Steven D'Aprano
On Wed, 11 Jul 2012 02:59:15 +1000, Chris Angelico wrote: > On Wed, Jul 11, 2012 at 2:51 AM, Steven D'Aprano > wrote: >> If only that were true. I know quite a few people who looked the >> interviewer straight in the eye and told the most bare-faced lies >> without a trace of shame, and got the j

Re: Python Interview Questions

2012-07-10 Thread Jean-Michel Pichavant
Steven D'Aprano wrote: On Tue, 10 Jul 2012 11:29:24 +0200, Jean-Michel Pichavant wrote: Why would you want to hire someone that knows something pointless as the version where feature X has been introduced ? Just tell him that feature X has been introducted in version Y, costless 2.5sec train

Re: Python Interview Questions

2012-07-10 Thread Chris Angelico
On Wed, Jul 11, 2012 at 2:51 AM, Steven D'Aprano wrote: > If only that were true. I know quite a few people who looked the > interviewer straight in the eye and told the most bare-faced lies without > a trace of shame, and got the job. Ten years on, at least one of them is > making something aroun

Re: Python Interview Questions

2012-07-10 Thread Ethan Furman
Chris Angelico wrote: On Wed, Jul 11, 2012 at 2:34 AM, Steven D'Aprano wrote: Of course, if they try to sell themselves as having five years experience with Python 3.2... ... then they've been borrowing Guido's time machine for personal purposes. Reminds me of a job posting a few years ago

Re: Python Interview Questions

2012-07-10 Thread Steven D'Aprano
On Tue, 10 Jul 2012 10:11:22 +0200, Christian Heimes wrote: > Am 10.07.2012 09:33, schrieb Steven D'Aprano: >> This is why I hate job interviews. You have like 30 minutes, or even as >> little as 30 seconds, to make a good impression on somebody who may or >> may not be capable of telling the diff

Re: Python Interview Questions

2012-07-10 Thread Steven D'Aprano
On Tue, 10 Jul 2012 11:29:24 +0200, Jean-Michel Pichavant wrote: > Why would you want to hire someone that knows something pointless as the > version where feature X has been introduced ? Just tell him that feature > X has been introducted in version Y, costless 2.5sec training. Don't you > want t

Re: Python Interview Questions

2012-07-10 Thread Chris Angelico
On Wed, Jul 11, 2012 at 2:34 AM, Steven D'Aprano wrote: > Of course, if they try to sell themselves as having > five years experience with Python 3.2... ... then they've been borrowing Guido's time machine for personal purposes. ChrisA -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Interview Questions

2012-07-10 Thread Steven D'Aprano
On Tue, 10 Jul 2012 09:05:50 -0700, Ethan Furman wrote: > Jean-Michel Pichavant wrote: >> Why would you want to hire someone that knows something pointless as >> the version where feature X has been introduced ? > > As an example from today, if someone claimed to have 5+ years of Python > experie

Re: Python Interview Questions

2012-07-10 Thread Chris Angelico
On Wed, Jul 11, 2012 at 1:55 AM, BartC wrote: > There's also the risk of mixing up software created at home, with that done > at work, with all the intellectual property issues that might arise. You just make the matter clear from the beginning, for instance: what's done at work stays at work, an

Re: Python Interview Questions

2012-07-10 Thread BartC
"Peter" wrote in message news:35e7a860-fd41-4018-82f6-aabc32610...@googlegroups.com... One of my favourite questions when interviewing - and it was 100% reliable :-) - "what are your hobbies?" If the answer included programming then they were hired, if not, then they went to the "B" list.

Re: Python Interview Questions

2012-07-10 Thread Ethan Furman
Jean-Michel Pichavant wrote: Why would you want to hire someone that knows something pointless as the version where feature X has been introduced ? As an example from today, if someone claimed to have 5+ years of Python experience, but didn't know that 'with' was standard in 2.6 (or at least

Re: Python Interview Questions

2012-07-10 Thread rusi
On Jul 10, 12:33 pm, Steven D'Aprano wrote: > This is why I hate job interviews. You have like 30 minutes, or even as > little as 30 seconds, to make a good impression on somebody who may or > may not be capable of telling the difference between a cheese sandwich > and a box of hair -- and even th

Re: Python Interview Questions

2012-07-10 Thread Mark Lawrence
On 10/07/2012 09:11, Christian Heimes wrote: Almost everybody can garden under ideal conditions. I grow about 15 herbs, strawberries, tomatoes, chillies and flowers on a small balcony in the middle of the city. This year I'm going to harvest at least 200 tomatoes from two plants in a 1m * 40cm *

Re: Python Interview Questions

2012-07-10 Thread Mark Lawrence
On 10/07/2012 09:03, Chris Angelico wrote: On Tue, Jul 10, 2012 at 3:08 PM, Shambhu Rajak wrote: I agree with Christian, a developer should have hobbies other than computer stuffs. Versatile environment give more Ability to think differently. I like playing guitar :-) Music and programming d

Re: Python Interview Questions

2012-07-10 Thread Jean-Michel Pichavant
Tim Chase wrote: On 07/09/12 19:27, Roy Smith wrote: prefer folks that know which features to check availability for deployment. Heh. Tell me, when did strings get methods? :-) IIRC, ~2.0? I'm cognizant of the shift happening from the string module to string methods, but I wo

Re: Python Interview Questions

2012-07-10 Thread Christian Heimes
Am 10.07.2012 09:33, schrieb Steven D'Aprano: > This is why I hate job interviews. You have like 30 minutes, or even as > little as 30 seconds, to make a good impression on somebody who may or > may not be capable of telling the difference between a cheese sandwich > and a box of hair -- and eve

Re: Python Interview Questions

2012-07-10 Thread Chris Angelico
On Tue, Jul 10, 2012 at 3:08 PM, Shambhu Rajak wrote: > I agree with Christian, a developer should have hobbies other than computer > stuffs. Versatile environment give more > Ability to think differently. > I like playing guitar :-) Music and programming do go VERY well together. My hobbies inc

Re: Python Interview Questions

2012-07-09 Thread rusi
On Jul 10, 4:40 am, Roy Smith wrote: > In article , >  Christian Heimes wrote: > > > Am 09.07.2012 23:22, schrieb Peter: > > > One of my favourite questions when interviewing - and it was 100% reliable > > > :-) - "what are your hobbies?" > > > > If the answer included programming then they were

RE: Python Interview Questions

2012-07-09 Thread Shambhu Rajak
...@cheimes.de] Sent: 10/07/2012 5:03 AM To: python-list@python.org Subject: Re: Python Interview Questions Am 09.07.2012 23:22, schrieb Peter: > One of my favourite questions when interviewing - and it was 100% reliable > :-) - "what are your hobbies?" > > If the answer inc

Re: Python Interview Questions

2012-07-09 Thread Mark Lawrence
On 10/07/2012 00:33, Christian Heimes wrote: Am 09.07.2012 23:22, schrieb Peter: One of my favourite questions when interviewing - and it was 100% reliable :-) - "what are your hobbies?" If the answer included programming then they were hired, if not, then they went to the "B" list. on the

Re: Python Interview Questions

2012-07-09 Thread Tim Chase
On 07/09/12 19:27, Roy Smith wrote: >> prefer folks that know which features to check availability for >> deployment. > > Heh. Tell me, when did strings get methods? :-) IIRC, ~2.0? I'm cognizant of the shift happening from the string module to string methods, but I wouldn't expect deep history

Re: Python Interview Questions

2012-07-09 Thread Roy Smith
In article , Tim Chase wrote: > As mentioned in another branch of this thread, I don't require > python historians, but do prefer folks that know which features to > check availability for deployment. Heh. Tell me, when did strings get methods? :-) -- http://mail.python.org/mailman/listinfo/p

Re: Python Interview Questions

2012-07-09 Thread Tim Chase
On 07/09/12 19:01, dnca...@gmail.com wrote: > The set of questions I'm not sure I understand is the 'What > version did ... appear?' questions. This, to me, doesn't seem to > indicate any programming experience or expertise. A question > asking 'Do you understand different versions?' and 'How wou

Re: Python Interview Questions

2012-07-09 Thread dncarac
Tim, I've read your list and with one exception it all looks very reasonable. (As an hobbiest, I'm amazed at just how much I have picked up.) The set of questions I'm not sure I understand is the 'What version did ... appear?' questions. This, to me, doesn't seem to indicate any programming

Re: Python Interview Questions

2012-07-09 Thread Christian Heimes
Am 10.07.2012 01:40, schrieb Roy Smith: > Do you really want to make hire/no-hire decisions based on somebody's > ability to second-guess what you probably wanted to hear when you asked > a pointless question? I don't want her/him to second-guess at all. I expect a straight and honest answer. Se

Re: Python Interview Questions

2012-07-09 Thread Emile van Sebille
On 7/9/2012 2:22 PM Peter said... One of my favourite questions when interviewing - and it was 100% reliable :-) - "what are your hobbies?" If the answer included programming then they were hired, if not, then they went to the "B" list. In my experience, anybody who is really interested in pr

Re: Python Interview Questions

2012-07-09 Thread Roy Smith
In article , Christian Heimes wrote: > Am 09.07.2012 23:22, schrieb Peter: > > One of my favourite questions when interviewing - and it was 100% reliable > > :-) - "what are your hobbies?" > > > > If the answer included programming then they were hired, if not, then they > > went to the "B" l

Re: Python Interview Questions

2012-07-09 Thread Tim Chase
On 07/09/12 18:12, Cameron Simpson wrote: > On 09Jul2012 18:53, Devin Jeanpierre wrote: > | On Mon, Jul 9, 2012 at 5:22 PM, Peter wrote: > | > One of my favourite questions when interviewing - and it was 100% > reliable :-) - "what are your hobbies?" > | > If the answer included programming then

Re: Python Interview Questions

2012-07-09 Thread Tim Chase
On 07/09/12 17:53, Devin Jeanpierre wrote: >> One of my favourite questions when interviewing - and it was >> 100% reliable :-) - "what are your hobbies?" If the answer >> included programming then they were hired, if not, then they >> went to the "B" list. > > Woe is the poor college grad, who wa

Re: Python Interview Questions

2012-07-09 Thread Christian Heimes
Am 09.07.2012 23:22, schrieb Peter: > One of my favourite questions when interviewing - and it was 100% reliable > :-) - "what are your hobbies?" > > If the answer included programming then they were hired, if not, then they > went to the "B" list. on the contrary! When a potential candidate ha

Re: Python Interview Questions

2012-07-09 Thread Cameron Simpson
On 09Jul2012 18:53, Devin Jeanpierre wrote: | On Mon, Jul 9, 2012 at 5:22 PM, Peter wrote: | > One of my favourite questions when interviewing - and it was 100% reliable :-) - "what are your hobbies?" | > If the answer included programming then they were hired, if not, then they went to the "B"

Re: Python Interview Questions

2012-07-09 Thread Roy Smith
In article , Peter wrote: > One of my favourite questions when interviewing - and it was 100% reliable > :-) - "what are your hobbies?" "My hobby happens to be gardening, for which I don't expect to be paid." -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Interview Questions

2012-07-09 Thread Cameron Simpson
On 09Jul2012 11:44, Rick Johnson wrote: | On Jul 9, 12:40 pm, Tim Chase wrote: | > 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. | | So guru knowledge

Re: Python Interview Questions

2012-07-09 Thread Devin Jeanpierre
On Mon, Jul 9, 2012 at 5:22 PM, Peter wrote: > One of my favourite questions when interviewing - and it was 100% reliable > :-) - "what are your hobbies?" > If the answer included programming then they were hired, if not, then they > went to the "B" list. Woe is the poor college grad, who wants

Re: Python Interview Questions

2012-07-09 Thread Peter
One of my favourite questions when interviewing - and it was 100% reliable :-) - "what are your hobbies?" If the answer included programming then they were hired, if not, then they went to the "B" list. In my experience, anybody who is really interested in programming will have it as a hobby (

Re: Python Interview Questions

2012-07-09 Thread Demian Brecht
On Monday, 9 July 2012 10:40:59 UTC-7, Tim Chase wrote: > 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)

Re: Python Interview Questions

2012-07-09 Thread Rick Johnson
On Jul 9, 12:40 pm, Tim Chase wrote: > 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. So guru knowledge of pdb is prerequisite to being accepted as a Pythonis

Re: Python Interview Questions

2012-07-09 Thread Tim Chase
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 wo

Re: Python Interview Questions

2012-07-09 Thread Roy Smith
In article <3e0ef383-9615-4b4d-89c1-e55199711...@googlegroups.com>, yeryomin.i...@gmail.com 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

Re: Python Interview Questions

2012-07-09 Thread Tim Chase
On 07/09/12 01:39, yeryomin.i...@gmail.com wrote: > On Tuesday, 30 October 2007 21:24:04 UTC+2, Tim Chase wrote: yes, yes I did, almost 5 years ago. :-) You didn't include any questions/comments on my email, so it's a bit hard to respond. >> While I haven't interviewed precisely for Python, I'v

  1   2   >