desktop/examples/basic-python at main · e2b-dev/desktop

Skip to content

Navigation Menu

Sign in

Appearance settings

Latest commit

Desktop Sandbox Python Example

This is a basic example of how to use the Desktop Sandbox Python SDK with streaming and moving mouse around.

How to run

1. Create .env file

2. Set E2B_API_KEY in .env file

Get your API key at e2b.dev/dashboard.

E2B_API_KEY="your_api_key"

3. Install dependencies

4. Run

poetry run python main.py