Remove lines between the start string and end string including start and end string Python

Hi,

I am trying to remove lines once a string is found till another string is found including the start string and end string. I want to basically grab all the lines starting with color [ and including the ] (closing bracket). PS: The line after the closing bracket for color could be anything (currently 'more').

I am trying to do this in python.

numbers [
  1
  2
  3
]
color [
  blue
  green
  red
]
more [
  1
  2
  3
]

Any help highly appreciated.

In sed it is just:

 
sed '/pattern1/,$!d
/pattern2/q'

so look for python-esque solutions in the sed flavor:
Python Regex on File Read Input - Stack Overflow