First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
Hello, I'm pretty new to pss and python in general, but I've made a few scripts. I have a problem, I want to export the contents of a report to a text file. I tried with this, but didn't manage to get it working:
f1=open('./testfile3.txt', 'w+')
psspy.zsys(0,4,[22,30,31,32])
psspy.zone_2(0,0,1)
print >> f1, psspy.zone_2(0,0,1)