Modules, Packages, and Python Installation Package
What can you do indicate that a module entity should be treated as private?
-mark entity name with _ single underscore prefix - or with the __ double underscore prefix
What is true about pip?
-there are two different pip implementations, one for Python 2 and the other for Python 3 -it's a command-line tool
How are packages and modules related?
packages can contain modules
A PWG-lead repository, collecting open-source Python code is called:
PyPI
namespace
a space in which names exist
If you want to import pi from math which command will you use?
from math import pi
pip comes from:
pip installs packages
Which of the following commands will you use to determine your pip version?
pip version pip -version pip --version
When you use pip to install a package that requires one or more dependencies, then:
pip will take care of everything by itself
PyPI is often referred to as
Cheese shop