CoilPad Documentation
Everything you need to know to get started with CoilPad and master Python development on macOS and Windows.
Table of Contents
Getting Started
Installation
macOS:
- Download CoilPad for macOS (Universal Binary - works on both Apple Silicon and Intel)
- Open the downloaded
.dmgfile - Drag CoilPad to your Applications folder
- Launch CoilPad from Applications
Windows:
- Download CoilPad for Windows (portable ZIP)
- Extract the downloaded
.zipfile to a folder of your choice - Run
CoilPad.exefrom the extracted folder - Optionally, create a shortcut to your Desktop or Start Menu
System Requirements
macOS:
- macOS 10.15 (Catalina) or later
- Apple Silicon (M1/M2/M3) or Intel processor
- Python 3.x (CoilPad will help you manage Python environments)
Windows:
- Windows 10 or later
- x64 (64-bit) processor
- Python 3.x (bundled with Windows installer or use your own)
Quick Start
Once CoilPad is installed:
- Launch the app - you'll see a clean editor on the left and output panel on the right
- Type some Python code (try:
print("Hello, CoilPad!")) - Watch the output appear instantly as you type - no need to click "Run"!
- Experiment freely - CoilPad runs in an isolated environment, so you can't break anything
Core Features
β‘ Instant Feedback Loop
CoilPad executes your Python code in real-time as you type. No need to save files or click "Run" - just write code and see results immediately.
- Real-time execution: See output as you type
- Error highlighting: Syntax errors and exceptions are displayed clearly in the output panel
- Native performance: Runs locally on your Mac - no network latency
π Tab Management
Organize your code experiments across multiple tabs.
- Free version: 1 tab for quick experiments
- Pro version: Unlimited tabs to organize multiple projects
- Each tab maintains its own code and state
- Switch between tabs with keyboard shortcuts

CoilPad's clean interface with instant feedback
β¨ AI-Powered Code Explanations
Get instant AI-powered explanations for any code snippet using your own OpenRouter API key. Available for all users (Free and Pro).
Setting Up AI Assistant
- Open Settings (β,) and navigate to "AI Assistant" tab
- Get a free API key from OpenRouter.ai
- Paste your API key and click "Test Connection"
- Choose your preferred AI model (10 models available)
- Your API key is stored securely using macOS Keychain encryption
When macOS Keychain asks for your password, click "Always Allow" to grant CoilPad permanent access to your API key. This prevents password prompts every time you open the app.
Using Code Explanations
- Select any code snippet in the editor
- Right-click to open the context menu
- Choose "Highlight Code Snippet to Explain (Simple)" for a quick overview
- Or choose "Highlight Code Snippet to Explain (Deep Dive)" for comprehensive analysis
- View the explanation in a modal with syntax-highlighted code
Available Models
Free Models
- Meta Llama 3.2 (3B)
- Google Gemma 2 (9B)
- Mistral 7B Instruct
- Qwen 2.5 Coder (32B)
- Hermes 3 Llama 3.1 (405B)
Premium Models
- Claude 3.5 Sonnet
- GPT-4o
- Gemini Pro 1.5
- Claude 3 Opus
- GPT-4 Turbo
You are responsible for OpenRouter API costs. CoilPad does not cover API usage fees. Free models are available with no or minimal cost.
π Code Execution Stack Trace
Track how variables evolve during code execution. Perfect for understanding loops, iterations, and program flow. Available for all users (Free and Pro).
How to Use
- Run your Python code in CoilPad
- Right-click on any line number in the output panel
- Select "Show Variable History"
- View how variables changed up to that execution point
What You'll See
- Variable evolution: See how each variable's value changed throughout execution
- Start and end markers: Clearly marked initial and final values
- Line references: Know exactly which line each change occurred on
- Loop tracking: Perfect for understanding how loops modify variables

Track variable changes through your code execution
π¬ Coil Lab
CoilPad includes a built-in π¬ Coil Lab with 40+ comprehensive Python topics, from beginner to expert level.
Accessing the π¬ Coil Lab
- Click the "π¬ Coil Lab" button in the toolbar, or press
β.(Command+Period) - Browse topics organized by difficulty: Beginner, Intermediate, Expert
- Click any topic to open it in a split-pane view
Using the Split-Pane View
When you open a learning topic:
- Left pane: Documentation with explanations and code examples
- Right pane: Live editor where you can run and modify examples
- Copy examples to the editor with one click
- Experiment with the code and see results instantly
Free vs Pro Topics
Free (20+ Topics)
- All beginner topics
- 2 intermediate topics
- 2 expert topics
Pro (40+ Topics)
- All beginner topics
- All intermediate topics
- All expert topics
- Advanced frameworks (FastAPI, Kafka, Redis, etc.)

π¬ Coil Lab with documentation on the left and live editor on the right
Package Management
CoilPad includes a visual package manager that makes it easy to create virtual environments and install packages without touching the command line.
Creating a Virtual Environment
- Open Settings (β,) or click the gear icon
- Navigate to "Python"
- Click "Create New Environment"
- CoilPad will create an isolated virtual environment for you
Installing Packages
- Select your virtual environment from the dropdown
- Click "Install Package"
- Type the package name (e.g., "pandas", "numpy", "requests")
- Click Install - CoilPad will download and install it via pip
- The package is now available in your code!
Switching Environments
Use the environment dropdown in Settings to switch between different virtual environments. Each environment has its own installed packages, keeping your projects isolated.

Visual package manager - no command line needed
π Python Interpreter Selection
Choose which Python interpreter CoilPad uses to create virtual environments. This is essential when packages require newer Python versions than your system default.
Why Change Python Interpreter?
Some Python packages require specific Python versions:
- System Python: Often Python 3.9 or older on macOS
- Homebrew Python: Latest versions (3.11, 3.12, etc.)
- Example:
yfinancerequires Python 3.11+
How to Switch to Homebrew Python
Step 1: Install Homebrew Python
brew install python@3.12Step 2: Configure CoilPad
- Open Settings (β,) β Python tab
- Click "Browse..." button
- Navigate to
/opt/homebrew/bin/ - Select
python3.12 - Click "Validate" - you should see: β Valid: Python 3.12.x
Step 3: Recreate Virtual Environment
- Click "Delete Virtual Environment" (if you have one)
- Click "Create Virtual Environment"
- Your new venv now uses Python 3.12!
Use which python3.12 in Terminal to find the exact path to your Homebrew Python installation.
Common Python Paths
| Python Version | Typical Path |
|---|---|
| System Python | /usr/bin/python3 |
| Homebrew Python 3.12 | /opt/homebrew/bin/python3.12 |
| Homebrew Python 3.11 | /opt/homebrew/bin/python3.11 |
| pyenv Python | ~/.pyenv/versions/3.12.0/bin/python |
What Happens Behind the Scenes
- Configuration: Your Python path is saved to
~/.coilpad/config.json - Venv Creation: CoilPad uses your selected Python to create the virtual environment
- Persistence: Your choice persists across app restarts
- Reset: Click "Reset to Default" to return to
python3
Settings & Customization
Make CoilPad truly yours with customizable themes, fonts, and editor preferences.
Accessing Settings
- Press
β,(Command + Comma) - Or click the gear icon in the toolbar
Available Themes
Choose from 7 developer-favorite themes:
- VS Dark
- GitHub Dark
- Dracula
- Monokai
- Solarized Dark
- Nord
- Light (for daytime coding)
Font Customization
- Font Family: Choose your preferred monospace font
- Font Size: Adjust for comfortable reading (12px - 24px)
- Changes apply instantly - no restart needed

Customize themes, fonts, and more
Pro Features
Upgrade to CoilPad Pro for unlimited tabs, all learning topics, and priority support.
What's Included
- β¨ Unlimited tabs - organize multiple projects
- π All 40+ learning topics - beginner to expert
- π 1 year of free updates
- π» Use on up to 2 machines
- π§ Standard Email Support - app & bug fixes only
π₯ Launch Special (First 100 Spots)
$29 $49
Pay once, use forever. No recurring payments.
Get Pro NowActivating Your License
- After purchasing, you'll receive a license key via email
- Open CoilPad and go to Settings
- Navigate to "License" section
- Enter your license key and click "Activate"
- Pro features are now unlocked!
Multi-Device Usage
Your Pro license works on up to 2 machines. To move your license to a different machine:
- Deactivate the license on the old machine (Settings β License β Deactivate)
- Activate it on your new machine using the same license key
Troubleshooting & FAQ
Common Issues
Code isn't executing / No output appears
Check that:
- Your Python code is syntactically correct
- You have a valid Python runtime selected in Settings
- Try restarting CoilPad
Package installation fails
Ensure you:
- Have an active internet connection
- Are using a valid package name from PyPI
- Have created a virtual environment first
License activation fails
Common causes:
- License key was copied incorrectly (check for extra spaces)
- License is already active on 2 other machines (deactivate one first)
- No internet connection (activation requires online verification)
Still Need Help?
Report an Issue
Found an issue with CoilPad? Click below to send us an email with a pre-filled template. Please include all requested details to help us resolve your issue quickly.
Pro users receive priority support for bug fixes.
Report an IssueReady to start experimenting?
Download CoilPad and start writing Python code in seconds.
Download CoilPadView Pricing