How To Use "shave And Haircut's" Command In Python?

Hi all,

Do anybody tried using “shave and haircut” command “shaveWriteRib” in python…
Is there any way to use it python…

-prabu