Adding or modifying constraints with Python (Become an expert)