rmc python