Using python script in dynamo to detach multiple pressure pipe runs

“Hello, I’m new at learning Python for Dynamo and I am trying to create a script to detach multiple pressure pipe runs at once. Is there any way to do this using python?”