answered Feb 11 '19
Instead of using "winreg.HKEYLOCALMACHINE", use "winreg.HKEYCURRENTUSER" and instead of 'PsseInstallPath' use 'PsseExePath'. This is applicable to PSSE 34