[Python] rm uneedet part