Skip to content

AIPyApp - AI-Powered Program Generator

AIPyApp is an intelligent tool in QPython that uses AI to automatically generate Python programs from natural language instructions.

AIPyApp

Overview

AIPyApp transforms the way you write code - simply describe what you want in natural language, and the AI will generate the Python program for you. QPython will also feature AIPy Academy - a platform offering Python programming courses tailored for the AI era.

Installation

Step 1: Launch from Dashboard

  1. Open QPython and go to the Dashboard
  2. Long press the start button

If AIPyApp is not installed, you will be prompted to confirm the installation. Press Enter to proceed.

QPython will automatically download and install the required dependencies from PYPI. Please wait patiently for the installation to complete.

Step 2: Restart AIPyApp

After installation, return to the QPython Dashboard and long press the start button again to launch AIPyApp.

Configuration

Setting Up Your AI Key

On the first launch, you need to provide an AI API key:

  1. Register at PGPT: Create an account at https://user.pgpt.cloud to generate your AI key
  2. Advanced Option: AIPyApp also supports custom AI keys from OpenAI, Deepseek, and other providers (see advanced tutorials for details)

Entering Your AI Key

  1. Long press on the input prompt
  2. Select Paste from the popup menu
  3. Press Enter to confirm

Your AI key will be saved for future sessions.

Using AIPyApp

After configuration, you enter the AIPyApp console mode. Simply type your instructions in natural language!

Example Command

Try entering:

Use QSL4A to create a HELLO QPY program as a demo

AIPyApp will: 1. Understand your natural language request 2. Generate the corresponding Python code 3. Execute the program automatically

That's it - you've created a working Python program without writing any code!

Demo

The example above demonstrates how AIPyApp can: - Understand Chinese instructions - Generate QSL4A-based Python code - Run the program immediately

Explore AIPyApp to discover more capabilities and start building Python programs effortlessly.

Learn More

Stay tuned for AIPy Academy at aipy.org - upcoming courses on learning and using Python programming in the AI era.