How to colorize cell via python?

Thank you for the clear explanation!