Skip to content

Instantly share code, notes, and snippets.

View jtrain's full-sized avatar
🏠
Working from home

jtrain

🏠
Working from home
View GitHub Profile
import psspy
psspy.throwPsseExceptions = True
def ierr_doc(psspyFunc, ierr):
if not ierr:
return ''
# Find all the errors documented in the doc string
errDoc = psspyFunc.__doc__[psspyFunc.__doc__.find('IERR = 0'):]
errs = {}