All 44 questions

  1. What is object-oriented programming in Python, and what benefits does it bring?

    Asked in 4 of 354 interviews · last asked Nov 12 · Concept · Junior

    Other ways it was asked
    • “Can you explain object-oriented programming in Python?”
    • “How does Python support object-oriented programming?”
    • “How do you use object-oriented programming in Python?”
  2. What is self in a Python method, and what is it used for?

    Asked in 4 of 354 interviews · last asked Oct 28 · Concept · Junior

    Other ways it was asked
    • “What is the `self` parameter in Python, and is it required in an instance method?”
    • “What is the `self` parameter in Python, and what is it used for?”
    • “What is the purpose of the self keyword in Python?”
  3. Does Python support method overloading, and how can you simulate it using default arguments?

    Asked in 2 of 354 interviews · last asked Sep 8 · Concept · Mid-level

    Other ways it was asked
    • “Can you show method overloading in Python using an example and write the code?”
    • “In a Python method-overloading example, why might None be used, and how does the code implement the overloading?”
    • “Does Python support method overloading?”
  4. What is `__init__` in Python?

    Asked in 2 of 354 interviews · last asked Oct 18 · Concept · Junior

    Other ways it was asked
    • “What is __init__ in Python?”
  5. How does multiple inheritance work in Python?

    Asked in 2 of 354 interviews · last asked Sep 4 · Concept · Junior

    Other ways it was asked
    • “Is multiple inheritance allowed in Python?”
    • “How do you implement multilevel inheritance in Python?”
    • “What issues can arise from multiple inheritance in Python?”
  6. How does dependency injection work in Python, and when would you use it?

    Asked once · last asked Aug 13 · Concept · Mid-level

    Other ways it was asked
    • “Why is dependency injection used in Python applications?”
  7. Which Python built-in function checks whether an object has a particular attribute?

    Asked once · last asked Feb 24 · Concept · Junior

  8. How can you check in Python whether an object is an instance of a particular type, such as `Apple`?

    Asked once · last asked Feb 24 · Write code · Junior

  9. Does a Python class have an implicit `__init__` method, and what class does it inherit from by default?

    Asked once · last asked Feb 24 · Concept · Junior

  10. In Python, how does `__new__` differ from `__init__`, and when would you override `__new__` instead of `__init__`?

    Asked once · last asked Mar 16 · Concept · Senior

  11. What Python design approach would ensure a base-class method runs before each channel-specific email, SMS, or push send implementation?

    Asked once · last asked Mar 31 · Concept · Mid-level

  12. Which backend design concepts or patterns transfer from Java to Python, and what differences matter?

    Asked once · last asked Apr 9 · Concept · Mid-level

  13. What is the difference between a static method and a class method?

    Asked once · last asked Apr 9 · Concept · Junior

  14. What is a metaclass in Python, and when would you use one?

    Asked once · last asked Jul 16 · Concept · Senior

  15. Can you give an example of when to use a class method versus an instance method in Python?

    Asked once · last asked Jul 16 · Concept · Mid-level

  16. What is Python's method resolution order (MRO), and how does it determine which method is called?

    Asked once · last asked Jul 16 · Concept · Mid-level

  17. How do you override create or write in Odoo's ORM using super(), and why would you do so?

    Asked once · last asked Aug 24 · Concept · Mid-level

  18. Can you explain what self and __init__ are in Python?

    Asked once · last asked Sep 8 · Concept · Junior

  19. Create a simple Python class that returns only one object throughout the application's lifecycle.

    Asked once · last asked Sep 25 · Write code · Mid-level

  20. How does a Python singleton class ensure that only one instance is created during an application's lifecycle?

    Asked once · last asked Sep 25 · Concept · Mid-level

  21. Can you write a Python example of inheritance with an `Animal` base class and a `Dog` subclass?

    Asked once · last asked Sep 26 · Write code · Junior

  22. Which type of polymorphism is not supported directly in Python, and what workaround can achieve it?

    Asked once · last asked Oct 26 · Concept · Mid-level

  23. How can you work around Python’s lack of method overloading by signature?

    Asked once · last asked Oct 26 · Concept · Mid-level

  24. What is the MRO in Python?

    Asked once · last asked Aug 14 · Concept · Junior

    Other ways it was asked
    • “How does MRO work in Python?”
  25. What are Python data classes?

    Asked once · last asked Feb 23 · Concept · Junior

  26. What are protocols in Python?

    Asked once · last asked Feb 23 · Concept · Mid-level

  27. How do you create an instance of a class in Python?

    Asked once · last asked Feb 24 · Write code · Junior

  28. How do you call an instance method in Python to get its returned string?

    Asked once · last asked Feb 24 · Write code · Junior

  29. What does “instance” mean in Python?

    Asked once · last asked Feb 24 · Concept · Junior

  30. What is a constructor in Python?

    Asked once · last asked Apr 9 · Concept · Junior

  31. What is the purpose of the `super()` function?

    Asked once · last asked Jul 7 · Concept · Junior

  32. What is an example use case for object-oriented programming in Python?

    Asked once · last asked Jul 16 · Concept · Junior

  33. What are abstract classes in Python?

    Asked once · last asked Jul 16 · Concept · Junior

  34. What are classes in Python?

    Asked once · last asked Aug 13 · Concept · Junior

  35. Write a simple Python class and instantiate an object.

    Asked once · last asked Aug 14 · Write code · Junior

  36. Explain the basics of a Python class and object, including the key differences between a list and a tuple.

    Asked once · last asked Aug 14 · Concept · Junior

  37. Can you give a simple example of method resolution order in Python?

    Asked once · last asked Aug 14 · Concept · Junior

  38. What is the use of self in classes?

    Asked once · last asked Sep 24 · Concept · Junior

  39. What design patterns are commonly used in Python, and when would you use them?

    Asked once · last asked Sep 25 · Concept · Mid-level

  40. How do you define a class in Python?

    Asked once · last asked Sep 25 · Concept · Junior

  41. What is the difference between a class, an instance, and a method in Python?

    Asked once · last asked Oct 7 · Concept · Junior

  42. What is a class in Python, and how does it support object-oriented programming?

    Asked once · last asked Nov 10 · Concept · Junior

  43. What is a static method in Python?

    Asked once · last asked Nov 12 · Concept · Junior

  44. How does chained attribute access, such as `node.star.left`, work in Python?

    Asked once · last asked Nov 15 · Concept · Junior

More Python interview questions

How this list is made

Every question here was asked by a real interviewer in a real job interview that a candidate ran MeetAssist in. After the call, the interviewer's questions are pulled from the transcript. Practice sessions, tests, exams and anything that was not a job interview are dropped.

Questions are rewritten so they make sense on their own: names of people, employers and clients are removed, and speech-to-text mistakes are fixed. Small talk, logistics and questions about one candidate's own résumé are left out. Rephrasings of the same question are merged, and the count is the number of different interviews it came up in.

The interviews come from candidates who use MeetAssist, so they lean towards software, data and AI roles: the shares describe these interviews, not every Python interview. Answers to the most asked questions are written and checked by an editor; a "common mistake" is shown only when reviews of real answers in these interviews show it, with the count.

354 interviews, 242 candidates, Nov 2025 to Nov 2026. Updated every month with new interviews.