Python Engineer Interview Questions

6,401 python engineer interview questions shared by candidates

What is Python, and why is it popular in data processing and analysis? Explain the differences between Python 2 and Python 3. What are decorators in Python, and how do they work? Describe list comprehensions and generator expressions in Python. What are lambda functions? Provide an example. Explain the Global Interpreter Lock (GIL) in Python. What is the purpose of the __init__ method in Python classes? What are Python decorators, and how are they used in web frameworks? Explain the concept of Python virtual environments. Why are they useful? What is the difference between shallow copy and deep copy in Python? How do you handle exceptions in Python? Explain the try, except, finally, and raise statements.
avatar

Python Developer

Interviewed at Dell Technologies

3.7
Oct 13, 2023

What is Python, and why is it popular in data processing and analysis? Explain the differences between Python 2 and Python 3. What are decorators in Python, and how do they work? Describe list comprehensions and generator expressions in Python. What are lambda functions? Provide an example. Explain the Global Interpreter Lock (GIL) in Python. What is the purpose of the __init__ method in Python classes? What are Python decorators, and how are they used in web frameworks? Explain the concept of Python virtual environments. Why are they useful? What is the difference between shallow copy and deep copy in Python? How do you handle exceptions in Python? Explain the try, except, finally, and raise statements.

Asked something from your resume about the projects you did before, and some technology questions such as four principles of OOP, what is AWS PVC, differences between ELB and SLB, how to expose K8s pod to outside, etc.
avatar

Python Developer

Interviewed at Dell Technologies

3.7
Oct 18, 2022

Asked something from your resume about the projects you did before, and some technology questions such as four principles of OOP, what is AWS PVC, differences between ELB and SLB, how to expose K8s pod to outside, etc.

1. List ,Tuple , Set, Dictionary, Passbyvalue and Passbyrefernce ,types of Inheritance, multi-threading, generators, list comprehension, Sql, constraints, joins. 2. Character Frequency Encoding ("i/p="hello world"; o/p ="h1e1l302w1o1r1d1")
avatar

Developer-2 Python

Interviewed at Siemens

4.1
Jul 9, 2024

1. List ,Tuple , Set, Dictionary, Passbyvalue and Passbyrefernce ,types of Inheritance, multi-threading, generators, list comprehension, Sql, constraints, joins. 2. Character Frequency Encoding ("i/p="hello world"; o/p ="h1e1l302w1o1r1d1")

Viewing 2131 - 2140 interview questions

Glassdoor has 6,401 interview questions and reports from Python engineer interviews. Prepare for your interview. Get hired. Love your job.