source:
NEMO/trunk/doc/tools/check_pkg.py
@
12837
Last change on this file since 12837 was 11008, checked in by nicolasmartin, 5 years ago | |
---|---|
|
|
File size: 182 bytes |
Rev | Line | |
---|---|---|
[11004] | 1 | #!/usr/bin/env python |
2 | ||
3 | import sys, importlib | |
4 | ||
5 | for argv in sys.argv[1:]: | |
6 | try: | |
7 | importlib.import_module(argv) | |
8 | except ImportError: | |
9 | print("Package %s is missing in Python" % argv) | |
10 |
Note: See TracBrowser
for help on using the repository browser.