eric6/Utilities/GetSysPath.py

Sat, 31 Aug 2019 12:58:11 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 31 Aug 2019 12:58:11 +0200
branch
without_py2_and_pyqt4
changeset 7192
a22eee00b052
parent 6942
2602857055c5
child 7360
9190402e4505
permissions
-rw-r--r--

Started removing runtime support for Python2 and PyQt4.

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

# Copyright (c) 2011 - 2019 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