PyRun
Web Compiler
Download EXE
Run
Save
main.py
Format
# Welcome to PyRun IDE # A modern Python development environment def welcome_message(): name = input("Enter your name: ") print(f"\nHello {name}! Welcome to PyRun IDE.") print("This is a fully-featured Python IDE in your browser.") return name # Example functions def calculate_fibonacci(n): """Calculate Fibonacci sequence""" a, b = 0, 1 sequence = [] while len(sequence) < n: sequence.append(a) a, b = b, a + b return sequence def factorial(n): """Calculate factorial""" if n <= 1: return 1 return n * factorial(n - 1) # Main execution if __name__ == "__main__": print("=" * 50) print("PyRun IDE - Python Development Environment") print("=" * 50) # Get user input user = welcome_message() # Demonstrate features print(f"\nHello {user}, here are some calculations:") # Fibonacci example fib_sequence = calculate_fibonacci(10) print(f"First 10 Fibonacci numbers: {fib_sequence}") # Factorial example num = 5 print(f"Factorial of {num}: {factorial(num)}") print("\nYou can write, run, and save Python code here!") print("Try modifying this code or create new files.")
Output Console
Clear
Output will appear here after running your code...
Create New File
File Name
Location
Root (Main Directory)
Cancel
Create
Create New Folder
Folder Name
Cancel
Create
Download Python Executable
Executable Name
Add Icon (Optional)
No Icon
Default Python Icon
Custom Icon (URL)
Icon URL
How to Convert to EXE:
Download the Python file
Install PyInstaller:
pip install pyinstaller
Run:
pyinstaller --onefile --windowed your_file.py
Find the .exe in the 'dist' folder
Note: EXE conversion requires Python and PyInstaller installed on your computer.
Cancel
Download Python File
Generate EXE Instructions