Podchaser Logo
Podchaser Logo
Charts
222: Import within a Python package

222: Import within a Python package

Released Saturday, 7th September 2024
Good episode? Give it some love!
222: Import within a Python package

222: Import within a Python package

222: Import within a Python package

222: Import within a Python package

Saturday, 7th September 2024
Good episode? Give it some love!
Rate Episode
List

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?




Show More
Rate
List

Join Podchaser to...

  • Rate podcasts and episodes
  • Follow podcasts and creators
  • Create podcast and episode lists
  • & much more
Do you host or manage this podcast?
Claim and edit this page to your liking.
,