
#12: Deep Dive into Modules and Packages
Talk Python To Me
00:00
Importing Sub Modules in Packages
There's a lot of stuff you can do in that init file to sort of make it explicit about what you want to export. And I'd think of these packages as like reusable libraries that you're going to grab and they have a bunch of functionality. Whereas modules, I kind of feel like, hey, I'm just reusing a file that I wrote. This file wants access to that part of my code. So I pull that in.
Transcript
Play full episode