hiexam
python-institute · PCAP-31-03 · Q602 · multiple_response · topic_1

What is true about Python packages? (Choose two.)

What is true about Python packages? (Choose two.)
  • A.a code designed to initialize a package’s state should be placed inside a file named init.py
  • B.a package’s contents can be stored and distributed as an mp3 file
  • C.__pycache__ is a folder that stores semi-compiled Python modules
  • D.the sys.path variable is a list of strings
Explanation
sorry, only C and D are corrects , for A the correct file name is _init_.py not init.py

Reference: examtopics_top_comment

Practice with progress tracking

Sign in to track wrong answers, get spaced-repetition reminders, and run timed exam mode.