packages Flashcards

1
Q

path attribute of module

A

__path__

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

list of directories python searches for modules

A

sys.path

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

enviromental variable for python packages location

A

PYTHONPATH

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

path to module file

A

__file__

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

list of attribute names imported via from module import *

A

__all__

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

executable directory must contain file

A

__main__.py

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