Plastimatch and Python Interactor

This function from an actual working module should help: