Python Engineer Interview Questions

5,832 python engineer interview questions shared by candidates

🔗 SECTION 4: API Design (7 Qs) 1. Explain REST principles. Stateless, resource-based URIs, HTTP verbs, uniform interface, cacheable responses. 2. How to version APIs? Via URL /api/v1/users/ or header Accept: application/vnd.company.v1+json. 3. How to secure APIs? Use JWT/OAuth2, HTTPS, rate limiting, API key verification. 4. Difference between PUT and PATCH. PUT replaces full resource, PATCH updates part. 5. Write Flask API endpoint.
avatar

Python Developer

Interviewed at iHub

3.6
Oct 16, 2025

🔗 SECTION 4: API Design (7 Qs) 1. Explain REST principles. Stateless, resource-based URIs, HTTP verbs, uniform interface, cacheable responses. 2. How to version APIs? Via URL /api/v1/users/ or header Accept: application/vnd.company.v1+json. 3. How to secure APIs? Use JWT/OAuth2, HTTPS, rate limiting, API key verification. 4. Difference between PUT and PATCH. PUT replaces full resource, PATCH updates part. 5. Write Flask API endpoint.

1) Difference between Authorization and authentication? And how to implement in application? 2) Generator in python? And how to implement in application? 3) Abstract classes in python? 4) what is annotations? 5) what is model manager? And how to create custom model manager? 6) Django revert migration?
avatar

Python Developer

Interviewed at NeoSOFT

3.6
Jan 29, 2024

1) Difference between Authorization and authentication? And how to implement in application? 2) Generator in python? And how to implement in application? 3) Abstract classes in python? 4) what is annotations? 5) what is model manager? And how to create custom model manager? 6) Django revert migration?

Viewing 5331 - 5340 interview questions

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