> For the complete documentation index, see [llms.txt](https://easy-draw.joemazzone.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://easy-draw.joemazzone.net/python/using-other-tkinter-capabilities.md).

# Power Users

## How the Browser Version Works

When you call `load_canvas()`, Easy Draw starts a small web server on your computer (<http://localhost:8765/>) and opens it in your web browser. Your program sends drawing changes to the page, and the page sends clicks and key presses back to your event handlers.

The drawing is also written to `index.html` in the same folder as your program. It is a single file with everything it needs, so you can share it or post it online to show off your drawing. The page only reacts to events while your program is running.

## Options

Use a different port, or open the page yourself:

```python
easy_draw.load_canvas(port = 8000, open_browser = False)
```

Print the finished page's HTML code:

```python
easy_draw.end(print_html = True)
```

## Using other Tkinter capabilities

The browser version does not use Tkinter, so `easy_draw.WINDOW` and `easy_draw.CANVAS` are not available.

If you need Tkinter, use the desktop version, `easy_draw_desktop.py`. It is the original Tkinter window version of Easy Draw.

```python
import easy_draw_desktop as easy_draw
```

Easy Draw's desktop version is just a Tkinter GUI window. It has all the capabilities of any Tkinter app.

{% embed url="<https://tkdocs.com/shipman/>" %}

You can modify or add to Easy Draw's Tkinter window by referencing the Easy Draw variable `easy_draw.WINDOW`

You can modify or add to Easy Draw's canvas by referencing the Easy Draw variable `easy_draw.CANVAS`
