Quantcast
Channel: Programming – Status-Q
Viewing all articles
Browse latest Browse all 14

Replace wildcard imports in Python code

$
0
0
From our just-in-case-you’re-Googling-for-it department… In Python code, wildcard import statements, such as: from foo import * can be very convenient, but are now usually considered bad practice. I’ve written a really simple tool called dewildcard to help replace them with full expansions, which can then be trimmed down using a tool like pylint or pyflakes. Continue Reading

Viewing all articles
Browse latest Browse all 14

Trending Articles