SH module for python