For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Setup and Install

Easy Draw is not on PyPI just yet, so you cannot pip install it. To use it you will need the easy_draw.py file which can be found and downloaded from GitHub.

Easy Draw File

Once you have the easy_draw.py file, you can include it in your project directory (the same folder as your project files).

Dependencies

None! Easy Draw only uses the Python standard library, so there is nothing else to install.

You do need a web browser. Easy Draw shows your drawing in your web browser instead of in a separate window. When your program runs, Easy Draw:

  1. Writes your drawing to an index.html file in the same folder as your program.

  2. Opens the live drawing in your web browser (http://localhost:8765/).

See the Starter Template to write your first program.

Upgrading from version 1? Your programs should work without any changes. See What's New in 2.0 for everything that changed.

Desktop Version

The original Tkinter window version of Easy Draw is still available as easy_draw_desktop.py.

It needs Tkinter and PIL (Pillow) installed. Use it in place of easy_draw.py like this:

If you get an error like ImportError: No module named tkinter, you may need to install Tkinter on your system: https://tkdocs.com/tutorial/install.html

If you get an error like ImportError: No module named PIL, you may need to install Pillow: https://pillow.readthedocs.io/en/stable/installation.html

Last updated

Was this helpful?