Modules, Packages, and Python Installation Package

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

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


Set pelajaran terkait

Urine and Urine Sediment Images (identification) questions are reversed

View Set

Psychology Chapter 12 Study Guide

View Set

13.3 determining the amount of life insurance

View Set

Peripheral Vascular and Lymphatics

View Set

NCLEX 10000 Genitourinary Disorders

View Set

PTAC 1302 Final Exam Review Questions

View Set

Federal Income Tax Final Questions

View Set