I need to use some function like DIV (returns the integer part of a division) and MOD (returns the reminder of a division) in python, but I don't know how to do that. % does not work as expected (in this context) and in the MATH module, I didn't find any kind of function to do such thing. Can anyone help me ?