Tom Ritchford
Sep 28, 2022

--

One more thing - you can also mark global variables or functions in your module with an _ to indicate that they are "private". Yes, __all__ also shows what is public, but it's really useful for the reader who can immediately see that some function is a helper by its name.

--

--

No responses yet