How to make uncheck module in erpnext from python

Hi

i want to uncheck some module in user Allow madule while creation of user

thanks and regards
mohd. eliyas