+ 1

Hello, I am working on a python project where i need to use inheritance, but I am unable to do it. Pls help

My first class is systemInfo(Frame) which contains a method buy_now and buy_now uses treeview which is declared in systeminfo. My second class is Registration_form where I am defing the buy button and on its command I want to call buy_now . I can't find a solution for this. Can someone pls help

7th Sep 2017, 1:52 AM
Varshil Shah
Varshil Shah - avatar
3 odpowiedzi
7th Sep 2017, 2:10 AM
Testing003
+ 2
Yup @Testing003, class inheritance works like that. Class(baseclass): ....
7th Sep 2017, 2:48 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
0
I tried this but it dint work
9th Sep 2017, 1:38 AM
Varshil Shah
Varshil Shah - avatar