Raise the humidity keeping the lung and Upper respiratory tract mucosa moist will help them both breath and expel any excess mucus.

Ri can be caused in ball pythons by a whole list of things from injury to stress..the cause of the RI should be corrected as aggressively as the RI itself ..