Python Self Close Hinges