
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?
By Brian Okken4.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?

43,837 Listeners

626 Listeners

326 Listeners

583 Listeners

214 Listeners

8,077 Listeners

140 Listeners

2,303 Listeners

5 Listeners