Talk Python To Me cover image

#12: Deep Dive into Modules and Packages

Talk Python To Me

00:00

How to Make Your Code More Brittle in Packages

The PEP8 structure guidelines sometimes make your code more brittle in packages than otherwise should be. The thing that I don't like about that is it ends up hard coding the package name. For example, if you rename the package, what happens? Well, then you have to go change all of your code. Is there a fix? Well, you can use one of the things that you can use are these package relative imports.

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