Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam PCAP All Questions

View all questions & answers for the PCAP exam

Exam PCAP topic 1 question 58 discussion

Actual exam question from Python Institute's PCAP
Question #: 58
Topic #: 1
[All PCAP Questions]

Package source directories/folders can be:

  • 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
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Adeshina
Highly Voted 1 year, 11 months ago
Package source directories/folders can be packed as a ZIP file and distributed as one file. A Python package is a collection of modules that can be imported and used in other Python programs. Packages are typically organized as directories/folders, with each directory/folder containing one or more modules. To distribute a package, you can pack the package source directory/folder into a ZIP file, which can be imported by other programs using the importlib.util.module_from_spec method. This allows you to distribute the package as a single file, which makes it easier to distribute and install.
upvoted 7 times
...
Acid_Scorpion
Most Recent 1 year, 1 month ago
Selected Answer: B
Correct answer is B. Info: https://realpython.com/python-zip-import/
upvoted 1 times
...
aykhazri
2 years, 4 months ago
the answer is C
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...