source:
NEMO/branches/2020/dev_r14116_HPC-04_mcastril_Mixed_Precision_implementation_final/doc/tools/check_pkg.py
@
14644
Last change on this file since 14644 was 14644, checked in by sparonuz, 3 years ago | |
---|---|
|
|
File size: 185 bytes |
Line | |
---|---|
1 | #!/usr/bin/env python3 |
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 3" % argv) |
10 |
Note: See TracBrowser
for help on using the repository browser.