Php Oop Database Class Example In Python Program