PYTHON PIPE RESTRAINT