Python Interview Questions and answers...
http://net-informations.com/python/iq/default.htm
--
https://mail.python.org/mailman/listinfo/python-list
Hope this will help you
http://net-informations.com/python/iq/default.htm
--
https://mail.python.org/mailman/listinfo/python-list
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 have a
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 Python.
- 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
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
In article 50a9e5cf$0$21863$c3e8da3$76491...@news.astraweb.com,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info 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
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
immutable
On Mon, Nov 19, 2012 at 7:30 AM, Roy Smith r...@panix.com wrote:
In article 50a9e5cf$0$21863$c3e8da3$76491...@news.astraweb.com,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
By the way, based on the sample data you show, your script is possibly
broken. You don't record either
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
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 steve+comp.lang.pyt...@pearwood.info wrote:
I see. It wasn't clear from your earlier description that the items had
been post-processed from collections of
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 after
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 when
In article 50aac3d8$0$29983$c3e8da3$54964...@news.astraweb.com,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info 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.
--
In article 50aac66c$0$29983$c3e8da3$54964...@news.astraweb.com,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info 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
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 =
In article 50a8acdc$0$29978$c3e8da3$54964...@news.astraweb.com,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info 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
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 steve+comp.lang.pyt...@pearwood.info wrote:
Use a list when you want a list of items that should all be treated the
same way [...] or when you need a
On 18 Nov 2012 16:50:52 GMT
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info 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
In article 50a911ec$0$29978$c3e8da3$54964...@news.astraweb.com,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info 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
On Mon, Nov 19, 2012 at 4:16 AM, D'Arcy J.M. Cain da...@druid.net wrote:
On 18 Nov 2012 16:50:52 GMT
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info 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
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 the
In article 50a97de0$0$29983$c3e8da3$54964...@news.astraweb.com,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info 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
On Mon, Nov 19, 2012 at 1:09 PM, Roy Smith r...@panix.com 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
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.
On Sun, Nov 18, 2012 at 7:42 PM, Mark Lawrence breamore...@yahoo.co.uk 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
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 steve+comp.lang.pyt...@pearwood.info wrote:
The stack that's returned is a list. It's inherently a list, per the
classic definition:
Er, no, it's
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
On 06/09/2012 05:24, Kushal Kumaran wrote:
On Wed, Sep 5, 2012 at 3:11 PM, Stephen Anto charvigro...@gmail.com wrote:
On Wed, Sep 5, 2012 at 2:10 PM, Kushal Kumaran
kushal.kumaran+pyt...@gmail.com wrote:
On Wed, Sep 5, 2012 at 12:20 PM, charvigro...@gmail.com wrote:
On Tuesday, October 30,
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,
On Wed, Sep 5, 2012 at 12:20 PM, charvigro...@gmail.com 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
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
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
Hm, are you a
On Thu, Sep 6, 2012 at 12:34 AM, Chris Angelico ros...@gmail.com 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,
On Wed, Sep 5, 2012 at 8:34 AM, Chris Angelico ros...@gmail.com 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
On Thu, Sep 6, 2012 at 1:22 AM, Ian Kelly ian.g.ke...@gmail.com 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),
On 09/05/2012 11:34 AM, Chris Angelico wrote:
On Thu, Sep 6, 2012 at 1:22 AM, Ian Kelly ian.g.ke...@gmail.com 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
In article d4e47e64-91d3-4b9f-9e98-4985cd8cb...@googlegroups.com,
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
On Wed, Sep 5, 2012 at 9:34 AM, Chris Angelico ros...@gmail.com wrote:
On Thu, Sep 6, 2012 at 1:22 AM, Ian Kelly ian.g.ke...@gmail.com 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
In article mailman.245.1346858610.27098.python-l...@python.org,
Ian Kelly ian.g.ke...@gmail.com 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
In article mailman.255.1346863293.27098.python-l...@python.org,
Ian Kelly ian.g.ke...@gmail.com 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
On Thu, Sep 6, 2012 at 2:40 AM, Ian Kelly ian.g.ke...@gmail.com wrote:
On Wed, Sep 5, 2012 at 9:34 AM, Chris Angelico ros...@gmail.com wrote:
On Thu, Sep 6, 2012 at 1:22 AM, Ian Kelly ian.g.ke...@gmail.com wrote:
The lack of an ORDER BY is the least of the problems with that SQL.
He's also
On Wed, Sep 5, 2012 at 3:11 PM, Stephen Anto charvigro...@gmail.com wrote:
On Wed, Sep 5, 2012 at 2:10 PM, Kushal Kumaran
kushal.kumaran+pyt...@gmail.com wrote:
On Wed, Sep 5, 2012 at 12:20 PM, charvigro...@gmail.com wrote:
On Tuesday, October 30, 2007 11:44:01 PM UTC+5:30, Krypto wrote:
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
On Jul 10, 4:40 am, Roy Smith r...@panix.com wrote:
In article mailman.1965.1341876813.4697.python-l...@python.org,
Christian Heimes li...@cheimes.de wrote:
Am 09.07.2012 23:22, schrieb Peter:
One of my favourite questions when interviewing - and it was 100% reliable
:-) - what are
On Tue, Jul 10, 2012 at 3:08 PM, Shambhu Rajak
shambhu.ra...@kpitcummins.com 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
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 even
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
On 10/07/2012 09:03, Chris Angelico wrote:
On Tue, Jul 10, 2012 at 3:08 PM, Shambhu Rajak
shambhu.ra...@kpitcummins.com 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
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 *
On Jul 10, 12:33 pm, Steven D'Aprano steve
+comp.lang.pyt...@pearwood.info 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
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
Peter peter.milli...@gmail.com 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
On Wed, Jul 11, 2012 at 1:55 AM, BartC b...@freeuk.com 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
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
experience,
On Wed, Jul 11, 2012 at 2:34 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info 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
--
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 to
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 difference
Chris Angelico wrote:
On Wed, Jul 11, 2012 at 2:34 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info 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
On Wed, Jul 11, 2012 at 2:51 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info 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
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
On Wed, 11 Jul 2012 02:59:15 +1000, Chris Angelico wrote:
On Wed, Jul 11, 2012 at 2:51 AM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info 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
On 10/07/2012 18:12, Dennis Lee Bieber wrote:
On 10 Jul 2012 07:33:59 GMT, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info 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*
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
On Tue, Jul 10, 2012 at 4:26 PM, Dennis Lee Bieber
wlfr...@ix.netcom.com wrote:
On Tue, 10 Jul 2012 09:05:50 -0700, Ethan Furman et...@stoneleaf.us
declaimed the following in gmane.comp.python.general:
As an example from today, if someone claimed to have 5+ years of Python
experience, but
On Tue, Jul 10, 2012 at 1:02 PM, Ethan Furman et...@stoneleaf.us 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
On Jul 10, 4:29 am, Jean-Michel Pichavant jeanmic...@sequans.com
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
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
On Tuesday, 30 October 2007 21:24:04 UTC+2, 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 Python.
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've
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 need
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
On Jul 9, 12:40 pm, Tim Chase python.l...@tim.thechases.com 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
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)
You need
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 (and
On Mon, Jul 9, 2012 at 5:22 PM, Peter peter.milli...@gmail.com 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
On 09Jul2012 11:44, Rick Johnson rantingrickjohn...@gmail.com wrote:
| On Jul 9, 12:40 pm, Tim Chase python.l...@tim.thechases.com 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
In article mailman.1959.1341868974.4697.python-l...@python.org,
Peter peter.milli...@gmail.com 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.
--
On 09Jul2012 18:53, Devin Jeanpierre jeanpierr...@gmail.com wrote:
| On Mon, Jul 9, 2012 at 5:22 PM, Peter peter.milli...@gmail.com wrote:
| One of my favourite questions when interviewing - and it was 100% reliable
:-) - what are your hobbies?
| If the answer included programming then they
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 has
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 wants to appear
On 07/09/12 18:12, Cameron Simpson wrote:
On 09Jul2012 18:53, Devin Jeanpierre jeanpierr...@gmail.com wrote:
| On Mon, Jul 9, 2012 at 5:22 PM, Peter peter.milli...@gmail.com wrote:
| One of my favourite questions when interviewing - and it was 100%
reliable :-) - what are your hobbies?
|
In article mailman.1965.1341876813.4697.python-l...@python.org,
Christian Heimes li...@cheimes.de 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
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
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.
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
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 would
In article mailman.1972.1341879526.4697.python-l...@python.org,
Tim Chase python.l...@tim.thechases.com 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,
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
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
...@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 included programming
- string building...do they use += or do they build a list
and use .join() to recombine them efficiently
I'm not dead sure about that, but I heard recently that python's been
optimized for that behaviour. That means: using += is almost as fast
as joining list. Besides, += is more obvious
konryd wrote:
- string building...do they use += or do they build a list
and use .join() to recombine them efficiently
I'm not dead sure about that, but I heard recently that python's been
optimized for that behaviour. That means: using += is almost as fast
as joining list.
For some
On Oct 31, 2:58 am, konryd [EMAIL PROTECTED] wrote:
- string building...do they use += or do they build a list
and use .join() to recombine them efficiently
I'm not dead sure about that, but I heard recently that python's been
optimized for that behaviour. That means: using += is almost
Rhamphoryncus [EMAIL PROTECTED] writes:
+= shouldn't be an obvious choice for sequences. If it's mutable,
use .append(). If it's immutable, build up in a mutable sequence,
then convert.
I generally prefer to do this with generators rather than mutation.
I.e. instead of
blech = []
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 bit rusty and trying to catch up again
with Python.
I am now appearing for Job Interviews these days
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 Python.
I am now appearing for Job Interviews these days and I am
Good luck with your interviewing and hope this helped,
-tkc
Well, I was looking exactly for this. Many thanks to you Tim. After
going through your list I came to know that I know nothing in Python
and have to catch up a whole lot.
--
http://mail.python.org/mailman/listinfo/python-list
Good luck with your interviewing and hope this helped,
-tkc
Well, I was looking exactly for this. Many thanks to you Tim. After
going through your list I came to know that I know nothing in Python
and have to catch up a whole lot.
It was certainly not an exhaustive list of you must know
Krypto [EMAIL PROTECTED] writes:
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.
I've given some interviews for programming positions. I
100 matches
Mail list logo