-
An Illustration of Why Running Code During Import Is a Bad Idea (And How It Happens Anyway)
An Illustration of Why Running Code During Import Is a Bad Idea (And How It Happens Anyway) Code that runs when a module is imported is usually a code smell. But sometimes there’s no way around it. CHRIS SIEBENMANN