Misc Flashcards

1
Q

Namespace

A

Maps names to objects

Python dictionary whose keys are the names and values are the objects

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

Nested Scope

A

Built-in Scope - built-in names of Python
Global Scope - globally defined names
Local scope - within currently executing function

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

Error-checking code

A

Detects and handles errors

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

Exception Handling

A

Special Python constructs that handle exceptional circumstances
Try and Except blocks

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