
Sign up to save your podcasts
Or
In this episode we're talking about importing part of a package into another part of the same package.
We'll look at: `from . import module` and `from .module import something`
and also: `import package` to access the external API from with the package.
Why would we use `import package` if `from . import api` would work fine?
Help support the show AND learn pytest:
4.7
7070 ratings
In this episode we're talking about importing part of a package into another part of the same package.
We'll look at: `from . import module` and `from .module import something`
and also: `import package` to access the external API from with the package.
Why would we use `import package` if `from . import api` would work fine?
Help support the show AND learn pytest:
272 Listeners
283 Listeners
41 Listeners
482 Listeners
592 Listeners
625 Listeners
269 Listeners
213 Listeners
142 Listeners
983 Listeners
189 Listeners
64 Listeners
140 Listeners
47 Listeners
52 Listeners