Machine Learning MCQS - QUESTION DETAILS

What is the primary purpose of the 'requirements.txt' file when sharing Python projects with others?
A. To store Python code
B. To list project dependencies
C. To execute Python scripts
D. To write Python documentation

The 'requirements.txt' file is used to list project dependencies, facilitating easy installation of dependencies for others.

Similar Questions

What is a key advantage of Python's high-level data structures like lists and dictionaries?






Which of the following best describes Python's approach to code execution speed?






What was the major focus of Python's development during the 2.x series?






What is the purpose of Python's built-in 'None' object?






What is a characteristic of Python that allows variables to change data types during execution?






Which of the following data structures is NOT a built-in type in Python?






What will be the output of the code: print("Hello" * 3)?






Which of the following statements best describes Python's support for object-oriented programming (OOP)?






What was the first major release of Python that introduced list comprehensions?






What is a significant benefit of Python's extensive standard library in terms of code development?