REST APIs with Flask and Python - Relative Imports in Python

REST APIs with Flask and Python - Relative Imports in Python

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial explains the concept of relative imports in Python, highlighting their complexity and potential pitfalls for beginners. It contrasts relative imports with absolute imports, emphasizing the importance of understanding file structure and import paths. The tutorial demonstrates how relative imports work, their limitations, and why absolute imports are generally recommended. The instructor advises against using relative imports due to their complexity and potential issues during debugging, suggesting that absolute imports offer a more straightforward and reliable approach.

Read more

1 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What new insight or understanding did you gain from this video?

Evaluate responses using AI:

OFF