import

luca72 lucaberto at libero.it
Mon May 30 12:11:41 EDT 2016


Hello i'm not sure that is the right group but i try
i use pyqt5 with eric

i have two form in the first form i have add :
from form_two import Form_two 
and for pass varible to second form i have add in the function

def test(self)
   self.ft= Form_two() #so i can acces to Object in form_two
   self.ft.tableView.setModel(.....) and it work

But i need to pass also value from form two to object in in the firs
but when i add 
from form_one import Form (in form two)
 i get the error Unhandled import error cannot import name Form  (but the class name is correct)

Thanks
Luca



More information about the Python-list mailing list