Python Bytes cover image

#242 from lib import * but less

Python Bytes

00:00

Modular Importer

There's something about classes that will not work for variables as pu, sorry, take it back. But there's also another way that that only works on varia, uh, functions and that is to put a decorator on to the function. So if you wantto export three functions from your modul you just put at public on those. And that way, when you're looking at it, it's like, really clear, these are the public functions and the rest arent.

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