| 1 | initial version |
the _i is a special variable that PSSE adds to the Python environment when you are running scripts from inside PSSE. Here is a list of the other special variables:
_i, _f, _s and _o
It is confusing to me why this variable is added without needing to import it.
When running your Python from outside of PSSE, you'll need to import the _i.
from psspy import _i
Otherwise your program will stop with a NameError which means: Python cannot find where this variable has been defined.
whit loves you. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.