Shared Flashcard Set

Details

Chapter 7
Modules
11
Computer Science
Undergraduate 2
11/06/2017

Additional Computer Science Flashcards

 


 

Cards

Term
built-in module
Definition
a module that comes pre-installed with Python.
Term
environmental variable
Definition
much like a variable in a Python script, except that an environmental variable is stored by the computer's operating system and can be accessed by every program running on the computer.
Term
from
Definition
A programmer can specify names to import from a module by using the from keyword in an import statement:
from module_name import name1, name2, ...
Term
script
Definition
a file a programmer typically writes, and pass that file as input to the interpreter.
Term
module
Definition
a file containing Python code that can be imported and used by scripts, other modules, or the interactive interpreter.
Term
import
Definition
execute the code contained by the module, and make the definitions within that module available for use by the importing program.
Term
dependency
Definition
A module being required by another program.
Term
sys.modules
Definition
where a dictionary of the loaded modules is stored.
Term
PYTHONPATH
Definition
an environmental variable that the programmer sets in the operating system.
Term
hashlib module
Definition
Python standard library module that contains a number of algorithms for creating a secure hash of a text message.
Term
hash
Definition
A secure hash correlates exactly to a single series of characters
Supporting users have an ad free experience!