Python Interview Questions

6,372 python interview questions shared by candidates

1. What is pep8? 2. How to check internet connectivity. Write with unitest framework and add logging methods 3. Check broken links in a webpage 4. How to handle random dynamic alerts. 5. What is __init__.py while writing a module? 6. Write pgm to find prime numbers using list comprehension 7.how to handle frames in selenium.
avatar

Python Automation QA

Interviewed at Dell Technologies

3.7
Feb 18, 2022

1. What is pep8? 2. How to check internet connectivity. Write with unitest framework and add logging methods 3. Check broken links in a webpage 4. How to handle random dynamic alerts. 5. What is __init__.py while writing a module? 6. Write pgm to find prime numbers using list comprehension 7.how to handle frames in selenium.

Live coding session started with some warmup tasks with lists, later he showed code and asked what's wrong with it and to refactor it, there were some other task which I cannot recall. Interviewer was asking details of practical task implementation, and how I could improve those.
avatar

Junior Python Developer

Interviewed at STX Next

4
Aug 29, 2023

Live coding session started with some warmup tasks with lists, later he showed code and asked what's wrong with it and to refactor it, there were some other task which I cannot recall. Interviewer was asking details of practical task implementation, and how I could improve those.

Viewing 6271 - 6280 interview questions

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