Crud Function In Python