Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Try using

nbrnchs = psspy.aflowcount(1,1,6,2)

Even though the documentation uses function in the form of just funcName(params), when actually using the function in a script you need use the form psspy.funcName(params).

Caviet: This is assuming you imported the psspy module using

import psspy

Technically, you could directly use the function names if you did

from psspy import *

however, I would recommend against that. It is poor form.