Answer the question
In order to leave comments, you need to log in
Interview questions for a Python programmer
What questions should you ask a Python programmer to evaluate his knowledge?
Answer the question
In order to leave comments, you need to log in
Design, flows?
Ask what are greenlets, Twisted, Tornado, what is the difference between multiprocessing and threads, what are their differences in Python modules (the test is passed if the person says that the GIL works in both cases, and the modules themselves have the same set of functions).
It's hard to talk about design. Ask them to come up with the simplest Singleton and explain what alternatives there are to this solution. He will say something about meta-classes, about the fact that the modules themselves are a singleton - the test is passed.
Ask what are circular dependencies. Give an example of a code with such a problem and ask to solve it or argue why there is no way out. The test is passed if the person moves all run-time used imports to the end of the file or redesigns the system to offer a variant without ring dependencies.
pyobject.ru/blog/2010/02/04/python-quiz/ - quite an interesting list of questions
What is the difference between new and old classes?
Why didn't everyone just switch to the new ones and forget about the old ones?
From which version the old classes are not supported?
What is the difference between (i for i in arr) and [i for i in arr]?
I wrote basic python interview questions here: https://thenno.me/blog/python-interview.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question