Modules Flashcards

1
Q

Module

A

A file containing Python code. May contain functions,classes ,etc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Modular programming

A

To separate as program into parts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Importing a module

A

Import (name of module)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Calling a function from a module

A

Write the module name . (Function name)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

See all module names

A

Help(“modules”)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly