Skip to content
TrackPodcasts
technologySep 7, 202412:27pending

222: Import within a Python package

Test & Code

About this episode

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?




Get every episode summarized

Each time Test & Code publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.

Email me new episodes

Free for 3 shows. No card needed.

Hosts & guests

No transcript yet

This episode has not been transcribed. Request it and it moves to the front of the queue.

222: Import within a Python package

Test & Code

0:00
12:27

More episodes

More from Test & Code

View all episodes →