Certified Associate in Python Programming (PCAP) — Question 127
Package source directories/folders can be:
Answer options
- A. converted into the so-called pypck format
- B. packed as a ZIP file and distributed as one file
- C. rebuilt to a flat form and distributed as one directory/folder
- D. removed as Python compiles them into an internal portable format
Correct answer: B
Explanation
The correct answer is B because package source directories can indeed be packed into a ZIP file for easier distribution. Option A is incorrect as pypck is not a standard format for packaging. Option C is misleading since while directories can be structured, they are not typically distributed in a 'flat form'. Option D is incorrect because while Python compiles, it does not remove the source directories.