top of page

Hello World Kivy

  • Writer: Eighplus Admin
    Eighplus Admin
  • Feb 12, 2022
  • 1 min read

ree

Before we make the first App by Python. We need to download three technologies. The first one is python programming language. The second one is Kivy, and the last one is Pycharm. Kivy is a python framework which can help us to make an app. Pycharm is just the IDE of python. If you like to use other tools, that’s fine.


ree


NOTE: the python should be downloaded previous versions because the current Kivy can only support python version 3.6 to 3.9



Then, we need to open Pycharm, and click the left corner to create a new project. Let’s name it “FirstApp”.


ree


After creating the new project. We need to create a new py file to make our first app. Remember the file type should be python. My file name is “HelloWorld”.



ree



Then, you have to add configuration to run the app. Otherwise, your python file cannot be ran



ree

Try to type “import kivy” for your first line. You must see an error that Pycharm warn you, that is because you haven’t installed the kivy package, so you have to do the following steps.

1. Click the left top corner, and click setting.

2. Click your own project and search “Kivy”.

3. Install Kivy Package.



ree


Then. Type the following code, then run it:



ree


Here we go. You got your first app!



ree

FUNTERN Associate: Jingrun Zhang

Comments


bottom of page