Coding for
Non-Computer People.
Most languages assume you know how a CPU works. Easypy assumes you want to build cool stuff without a PhD in Computer Science. It reads like English, but runs like a powerhouse.
The Installation Process
Official PyPI Release
Already have Python? Install Easypy in 3 seconds.
pip install easypy-lang
View on PyPI
We have automated everything. You don't need to touch the command line if you follow these steps exactly.
1Install Python
This is the engine. Without it, the car doesn't move.
Download Python 3.10+IMPORTANT: Check the box "Add Python to PATH" during installation.
2Run the Installer
Go to the installers folder inside the project. You will see a file named 1_install_global.bat.
└── 📂 installers
└── ⚙️ 1_install_global.bat <-- Double Click This!
A black window will appear. It is installing the libraries. Wait for it to close.
3Install VS Code Extension
To get colors: Drag the file easypy-extension.vsix directly into your VS Code window.
Your First App
Create a new file named hello.ep and convert it.
# Writes text to the black console window
log "Hello, making code is easy."
# Simple Math
log 5 + 5
How to Run It
Open your terminal (in VS Code: `Ctrl + ~`) and type:
Core Concept: Variables
Variables are boxes. You put data in, you take data out.
In Easypy, you can use the magic word var for everything contextually.
# The "Easy" Way
var name = "John"
var age = 25
var is_happy = true
log name
Or handle types strictly if you prefer control.
# The "Strict" Way
string city = "New York"
int score = 100
float pi = 3.14
log score + 50
Core Concept: Logic & Loops
Making Decisions (If/Else)
Code needs to make choices. We use `if` and `else` blocks. Note the braces `{ }`.
var money = 50
if money > 100 {
log "You are rich!"
} else {
log "Keep working!"
}
Repeating Things (Loops)
Easypy has a special human-readable loop.
# Repeat 5 times
loop 5 times {
log "I am repeating myself."
}
# Standard Python-style loop
for i in range(10) {
log i
}
Core Concept: Functions
Functions are reusable recipes. Use `func` to define one.
# 1. Define the function
func calculate_area(width, height) {
var area = width * height
return area
}
# 2. Use it
var my_room = calculate_area(10, 12)
log "Room size: " + my_room
Standard Library
Easypy comes with "batteries included". You don't need to download anything else to make windows, websites, or files.
GUI Module (Windows)
Create real desktop applications.
use gui
# 1. Setup the window
var app = gui.create_app("My App", 500, 400)
# 2. Add elements
gui.label(app, "Welcome to my program")
gui.textbox(app, "Type your name...")
# 3. Create a button function
func click_me() {
log "Button was clicked!"
}
gui.button(app, "Press Me", click_me)
# 4. Launch
gui.show(app)
Web Module
Interact with the internet.
use web
# Open a website in Chrome/Edge
web.open("https://google.com")
# Get text from a website (Scraping)
var data = web.get("https://example.com")
log data
File Module
Save data to your hard drive.
use file
# Create a new file
file.create("notes.txt", "This is my first note.")
# Add more text to the bottom
file.append("notes.txt", "\nI am learning fast.")
# Read it back
var content = file.read("notes.txt")
log content
Unlimited Power (Python Interop)
The "Secret Weapon"
Easypy is built on Python. This means you can use ANY Python library that exists. Machine learning? AI? Games? Yes.
# In terminal: pip install colorama
# Use the library directly
use colorama
# Create a variable from the library
var red = colorama.Fore.RED
var reset = colorama.Style.RESET_ALL
log red + "This text is RED!" + reset