Python Developer interview questions
Core Python, OOP, data structures, web frameworks, async, testing and performance.
198 questions · 7 topics · 14 free answers
0 of 198 practised · 0 bookmarked · saved on this device
17 questions match
Performance and tooling#1What is the difference between a generator expression and a list comprehension for memory?MediumConceptPerformance and tooling Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#2How would you speed up repeated string concatenation in a loop?MediumScenarioPerformance and tooling Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#3What is pip and what does pip freeze show?EasyConceptPerformance and tooling Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#4What is the difference between a wheel and a source distribution?MediumConceptPerformance and tooling Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#5How would you reduce the memory use of a large list of small objects?MediumScenarioPerformance and tooling Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#6What does the functools.lru_cache decorator risk?HardConceptPerformance and tooling Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#7What is a virtual environment and why use one?EasyConceptPerformance and tooling Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#8How do you manage dependencies in Python projects?EasyConceptPerformance and tooling Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#9How do you profile Python code?MediumConceptPerformance and tooling Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
#10What is NumPy and why is it fast?MediumConceptPerformance and tooling Pro answer
This answer is part of Pro
10 of 198 Python Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
Hunting for a Python Developer role too? See open Python Developer jobs.