Installation and Setup

In order to install pydraw you must, of course, have Python installed and added to the PATH.

Installation

Installing pyDraw via the command-line is as simple as one command:

pip install pydraw

It is also possible to use pydraw by placing the library file in the same directory as your project:

Using the library file for pyDraw will work normally for most of the time, but you may have to install Tkinter and/or Pillow if they are not installed!

Once you've got pyDraw installed, you're all set. You can test your installation like so:

from pydraw import *

screen = Screen(800, 600)

print('Hello, pyDraw!')
screen.stop()

Then run your file with Python, and you're all set:

python main.py

Last updated