220-1102 Exam QuestionsBrowse all questions from this exam

220-1102 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?

Show Answer
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

7 comments
Sign in to comment
Dido1963Option: D
Dec 12, 2022

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

fiela1
Mar 16, 2023

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
Mar 6, 2023

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.

[Removed]Option: D
Mar 19, 2023

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.

dcv1337Option: D
Jul 17, 2023

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

tolchandlerOption: B
Jul 25, 2023

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.

Dat_OyinOption: D
Jul 20, 2024

D I think