eric6/Utilities/GetSysPath.py

Sun, 21 Jun 2020 18:26:12 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 21 Jun 2020 18:26:12 +0200
changeset 7635
0cdead130a81
parent 7360
9190402e4505
child 7639
422fd05e9c91
permissions
-rw-r--r--

Removed support for Python2 and removed support for Qt4 (PyQt4 and pyside).

# -*- coding: utf-8 -*-

# Copyright (c) 2011 - 2020 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module to get sys.path of an external interpreter.
"""

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