Accessing multiple python file

33 views
Skip to first unread message

Istiak Ahamed

unread,
Jun 5, 2018, 2:11:44 AM6/5/18
to kivy-...@googlegroups.com
How many python file i can use in a python kivy project. Where i am using kv file to design separate from python file.   Is there anyway to accessing a python file against a button action of kivy? 

Thanks In advance. 

Regards 
Istiak

ZenCODE

unread,
Jun 6, 2018, 4:10:00 PM6/6/18
to Kivy users support
No limits on the number of file, other than the file system/python limits. You can use subclassing to call the python code from the kv file. e.g. the 'root' object in kv will refer to the python object. The below example might help.

Reply all
Reply to author
Forward
0 new messages