Exam 220-1102 All QuestionsBrowse all questions from this exam
Question 132

A help desk technician runs the following script: Inventory.py. The technician receives the following error message:

How do you want to open this file?

Which of the following is the MOST likely reason this script is unable to run?

    Correct Answer: D

    The error message 'How do you want to open this file?' indicates that the operating system does not know which application to use to execute the script. This typically happens because the necessary runtime environment, in this case, the Python interpreter, is not installed or not properly associated with .py files. Without the Python interpreter, the script cannot run, leading to this particular error message.

Discussion
Dido1963Option: D

A Python Interpreter has to be installed before a "*.py"-Script can run

fiela1

There are always questions in the Comptia exams that aren't relevant to the module or even certificate being done. They're there for research purposes and don't count towards the person sitting the exams grade

SeeSeeIE

This is not mentioned in the Prof. Messor when he speaks about Python in the "Scripting Languages" video. I rewatched it; nothing. I'm not a programmer, so D wasn't my first guess.

Dat_OyinOption: D

D I think

tolchandlerOption: B

B: This message is often seen when attempting to open a file that does not have a default program associated with it. The error message likely appears because the script "Inventory.py" was not built or designed to run on the Windows operating system.

dcv1337Option: D

The Python interpreter is not installed or associated with .py files on the computer.

[Removed]Option: D

This is covered in 1102 material. anything with .py at the end is python related. process of elimination indicates "D" is the only answer that makes sense.