Short file path
Hello community!!! Is there a way to write a file's path in short? Currently I am writing like this
psspy.progress_output(2,r"C:\Project\Progress Output.txt",[4,0])
First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
Hello community!!! Is there a way to write a file's path in short? Currently I am writing like this
psspy.progress_output(2,r"C:\Project\Progress Output.txt",[4,0])
I'm not sure what you want, but to write in the working directory use:
psspy.progress_output(2,r"Progress Output.txt",[4,0])
I tried that. Got "insufficient access rights" error and the whole progress output was redirected to the python terminal
I was using python through notepad++ therefore there was a problem with the path. Now it's solved. Tack för hjälpen Per Olof 😊
Asked: 2025-09-16 01:15:49 -0500
Seen: 398 times
Last updated: Sep 16 '25
How do you get the current working case file name (and path)?
How to load a python script via batch file having a pss/e application running
Distribution factor data file(.dfx)
Conversion of slider file to other platforms
how to close progress_output file without closing pss/e
whit loves you. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.