diff options
author | dvorapa | 2021-06-14 17:31:43 +0200 |
---|---|---|
committer | dvorapa | 2021-06-14 17:31:43 +0200 |
commit | 0378258c5467e1ea792bf48faa81cd67acbd3ac2 (patch) | |
tree | 1d411bafe5e48843ffd2a5fa86427c97705ee75e /test.py | |
download | aur-0378258c5467e1ea792bf48faa81cd67acbd3ac2.tar.gz |
new package
Diffstat (limited to 'test.py')
-rw-r--r-- | test.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test.py b/test.py new file mode 100644 index 000000000000..ab885cd9c50a --- /dev/null +++ b/test.py @@ -0,0 +1,13 @@ +#!/usr/bin/python + +import importlib, pprint, sys + +pprint.pprint(sys.path) + +name = "mwparserfromhell" + +try: + importlib.import_module(name) + print("import success: " + name) +except ImportError: + print("import error: " + name) |