As you know the PS has a pin that is used for reset and it’s always connected to system reset IP that controls the design reset signal. How can I use python to enable the PS reset pin(`pl_resetn0)?
I will highly suggest not to do so.
Utilize a reset IP block from vivado and use GPIO as a ext reset control and the default PS reset signal is handled by the processor.
Hard reset Soft reset User reset separating is always a better solution.
GPIO control via Python