Save certain interval of video file (mp4) using OpenCV (python)

How can I save certain sections (for example, 0:13 ~ 0:45, 1:11 ~ 1: 34 minute) of a video file using opencv python?

Thank you!