add python interface to mcsc