My hack led me to Kivy, a desktop and mobile framework in Python.
I have come to love the Python programming language. So as you will have it, i started my week by running on a few hacks on how to develop mobile apps in python without thinking about the native languages. My hack led me to Kivy, a desktop and mobile framework in Python. Kivy can be likened to Qt in that it has a GUI language tool known as kv language and render all other functionality in the python language just like how Qt also uses the qml for GUI and render all functionality in C++(default language for Qt).
I started off with a tutorial I watched and afterwards, with the help of the tutorial i managed to develop a text to speech app which i learnt can be deployed on mobile platforms as well as desktops. Fantastic huh!!!. First check Kivy’s site for how to get started on installations. Then join me through with the tutorial.
Even though kivy apps can be created in only one file, i chose to go the MV* way as advised by the tutorial. I separated logic from presentation. so if you follow suit then you will create a new file with a .kv extention. Remember the kv language specifies that a class with same name in python should be built for the root widget. what I did was to create a directory and create two files (saythis.py and saythis.kv). Check below for corresponding files. Checkout the tutorial here