ExamGecko
Question list
Search
Search

Question 245 - 200-901 discussion

Report
Export

Refer to the exhibit. A developer just finished testing a Python script and wants to save the list of packages and versions installed on the current machine. The developer must make sure that it will not cause any issues if tested on another device due to different library versions. Which line of code needs to be placed on the snippet where the code is missing?

A.

pip freeze 2> requirements.txt

Answers
A.

pip freeze 2> requirements.txt

B.

pip freeze > requirements.txt

Answers
B.

pip freeze > requirements.txt

C.

pip freeze => requirements.txt

Answers
C.

pip freeze => requirements.txt

D.

pip freeze | requirements.txt

Answers
D.

pip freeze | requirements.txt

Suggested answer: B
asked 07/10/2024
Krishna Mody
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first