Apps making with python an intro

the living tribunal

Moderator
Staff member
moderator
To make a phone app with Python, you can use frameworks like Kivy or BeeWare. Here’s a simple guide:

Using Kivy

  1. Install Kivy:
    pip install kivy

  2. Create a Basic App:
    Python

    from kivy.app import App
    from kivy.uix.label import Label

    class MyApp(App):
    def build(self):
    return Label(text="Hello, World!")

    if __name__ == "__main__":
    MyApp().run()

    AI-generated code. Review and use carefully. More info on FAQ.
  3. Run Your App:
    python main.py

  4. Package for Android:
    • Use Buildozerto package your app for Android:
      pip install buildozer
      buildozer init
      buildozer -v android debug

Using BeeWare

  1. Install BeeWare:
    pip install beeware

  2. Create a New Project:
    briefcase new

  3. Run Your App:
    briefcase dev

  4. Package for Mobile:
    briefcase build android
    briefcase build ios

Resources

  • Kivy Documentation: Kivy
  • BeeWare Documentation: BeeWare
@fukurou
 
Top