Cyber Monday Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

GIAC GPYC - GIAC Python Coder (GPYC)

Page: 3 / 3
Total 75 questions

If the variable "example" contains a handle to a subprocess object, which of the following would show all of the possible results of running the subprocess?

A.

example.stdout.read()

B.

example.recv(*)

C.

example.read()

D.

example.stdout.read()+example.stderr.read()

What is the output of the following line of code typed into a Python interactive session?

A.

NameError: name 'some_func' is not defined

B.

5

C.

5+10

D.

15