kivy is a open source python framework ,kivy run on Linux,Window,OS X, Android, iOS and Respberry Pi, You can run the same code on all supported platforms
Now create first app using kivy frame work
Step 1 : Install python on your operating system
Download or install python for this link https://www.python.org/downloads/
Step 2: Install Kivy Framework
Download or install kivy for this link https://kivy.org/doc/stable/gettingstarted/installation.html select the your operating system and install it
Step 3: Create first app code file main.py
from kivy.app import App
from kivy.uix.label import Label
class MainApp(App):
def build(self):
return Label(text="Hello this is first app")
if __name__ == "__main__":
MainApp().run()
Step 4: Save the main.py file
Step 5: Open the terminal or cmd prompt and set the main.py file path
Step 6: Enter the file name on terminal or cmd prompt python main.py and hit enter your program will run successfully
congratulation you can create first app successfully
thank you


Comments
Post a Comment