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 -0600
Seen: 350 times
Last updated: Sep 16 '25
How do you get the current working case file name (and path)?
Error running PSSE from Python
Conversion of slider file to other platforms
Question about Dynamic Simulation based on Python For Loop
Unable to write out using either rawd_2 or writerawversion
Compiling user models w/psse 33
whit loves you. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.