W3
Teacher
Explore
Browse by field
Artificial Intelligence
Accounting & Finance
Information Technology
Show all fields
Interview Q&A
All Interview Questions
Beginner
Intermediate
Advanced
Practice
MCQs
Quizzes
Mock Interviews
About
Light
Dark
Auto
Sign in
Get Started
Search interview questions
Search
7 questions for “Virtual Environments & Dependency Management”
Found in 1 field. Select a question to see its full answer.
Information Technology
7 questions in 1 technology
#
Question
Technology
Topic
Level
1
What is the purpose of a `requirements.txt` file, and how does it differ from
dependency
declarations in pyproject.toml?
Python › Modules & Packaging
Python
Modules & Packaging
Intermediate
2
What is the difference between a module and a package in Python?
Python › Modules & Packaging
Python
Modules & Packaging
Beginner
3
How does pyproject.toml serve as the modern standard for defining a Python package's build configuration and dependencies?
Python › Modules & Packaging
Python
Modules & Packaging
Intermediate
4
What does 'editable install' (pip install -e .) mean, and why is it useful during development?
Python › Modules & Packaging
Python
Modules & Packaging
Intermediate
5
How does Python locate modules during import, and what is sys.path's role?
Python › Modules & Packaging
Python
Modules & Packaging
Advanced
6
What is a namespace package, and how does it differ from a regular package?
Python › Modules & Packaging
Python
Modules & Packaging
Advanced
7
How do entry points in packaging metadata enable a package to register CLI commands or plugins?
Python › Modules & Packaging
Python
Modules & Packaging
Advanced