__version__ = "1.1.5"
+# --- imports --- #
+import sys
+try:
+ import xml.sax, xml.dom.minidom
+ import os, re
+ import types
+ import random
+ import warnings
+except Exception, an_exc:
+ sys.exit("Error: %s! Please check the installed Python package." % str(an_exc))
+ pass
+
# --- avoid "deprecation" warnings --- #
-import warnings
warnings.filterwarnings("ignore", "", DeprecationWarning)
-# --- imports --- #
-import xml.sax, xml.dom.minidom
-import sys, os, re
-import types
-import random
-
# --- global variables --- #
opt_parser = None
root_path = None