[Python] Management graphic mode