mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Python: fix up some examples
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
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())
|
||||
Reference in New Issue
Block a user