import ezdxf
dwg = ezdxf.readfile('mtext_2018.dxf')
msp = dwg.modelspace()
mtext = msp.query('MTEXT')[0]
mtext.set_text('Hello?')
dwg.saveas('mtext_2018_modified.dxf')

202c5275b7b3b3d05adb20741a501534579983c9
<mask token>

<mask token>
mtext.set_text('Hello?')
dwg.saveas('mtext_2018_modified.dxf')

<mask token>
dwg = ezdxf.readfile('mtext_2018.dxf')
msp = dwg.modelspace()
mtext = msp.query('MTEXT')[0]
mtext.set_text('Hello?')
dwg.saveas('mtext_2018_modified.dxf')

import ezdxf
dwg = ezdxf.readfile('mtext_2018.dxf')
msp = dwg.modelspace()
mtext = msp.query('MTEXT')[0]
mtext.set_text('Hello?')
dwg.saveas('mtext_2018_modified.dxf')
