Utilities/GetSysPath.py

changeset 6544
51996454f89f
child 6547
77c817301ca1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Utilities/GetSysPath.py	Sat Oct 13 14:08:21 2018 +0200
@@ -0,0 +1,22 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2011 - 2018 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module to check for the presence of PySide/PySide2 by importing it.
+"""
+
+from __future__ import print_function
+
+import sys
+import json
+
+if __name__ == "__main__":
+    # print sys.path to stdout
+    print(json.dumps(sys.path))
+    
+    sys.exit(0)
+    
+#
+# eflag: noqa = M701, M801

eric ide

mercurial