some utils of python module