Python: fix up some examples

This commit is contained in:
Gaute Lindkvist
2019-06-14 16:07:09 +02:00
parent 6701e13664
commit 055cb732db
12 changed files with 148 additions and 49 deletions

View File

@@ -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())