nerdexam
Python_Institute

PCAP-31-03 · Question #42

PCAP-31-03 Question #42: Real Exam Question with Answer & Explanation

The correct answer is A. the sys.path variable is a list of strings B. _pycache_is a folder that stores semi-completed Python modules. See the full explanation below for the reasoning.

Question

What is true about Python packages? (Select two answers)

Options

  • Athe sys.path variable is a list of strings
  • B_pycache_is a folder that stores semi-completed Python modules
  • Ca package contents can be stored and distributed as an mp3 file
  • Da code designed to initialize a package's state should be placed inside a file named init.py

Community Discussion

No community discussion yet for this question.

Full PCAP-31-03 Practice