mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
11 lines
259 B
Python
11 lines
259 B
Python
import sys
|
|
import os
|
|
|
|
sys.path.insert(1, os.path.join(sys.path[0], '../../'))
|
|
import rips
|
|
|
|
resInsight = rips.Instance.find()
|
|
if resInsight is not None:
|
|
print(resInsight.app.versionString())
|
|
print("Is this a console run?", resInsight.app.isConsole())
|