Talk Python To Me cover image

#12: Deep Dive into Modules and Packages

Talk Python To Me

00:00

The Importation of Arbitrary Code in the Init File

I have to say kind of rubs me the wrong way a little bit to see tons and tons of code in the init file. Partly because that's not where I'm expecting to see it. If I'm looking at somebody else's code and I want to know, oh, where's the source code for the database object or something like that? It doesn't occur to me that the code would be in theinit file. Just sometimes I feel like I'm importing a thousand things.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app