We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c6a7e9 commit 25605dfCopy full SHA for 25605df
test.py
@@ -1,5 +1,6 @@
1
if __name__ == '__main__':
2
import pkgutil
3
+ blacklist = ['winreg']
4
modules = (name for _, name, is_pkg in pkgutil.iter_modules()
- if is_pkg)
5
+ if is_pkg and name not in blacklist)
6
map(__import__, modules)
0 commit comments