Cisco
300-550 · Question #20
What is the best way to specify the location of Python within a script?
The correct answer is B. #!/usr/bin/env python. See the full explanation below for the reasoning.
Question
What is the best way to specify the location of Python within a script?
Options
- A#!/usr/bin/env bash
- B#!/usr/bin/env python
- C#!/usr/loca 1/bin/python
- D#!/usr/bin/python
- E#!/scriptname
How the community answered
(20 responses)- A5% (1)
- B80% (16)
- C10% (2)
- D5% (1)
Community Discussion
No community discussion yet for this question.