Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

mac M1 python when I use gui. function create canvas? it always appear black canvas, no matter what code I type, it always shows black

mac M1 python

when I use gui. function create canvas? it always appear black canvas, no matter what code I type, it always shows black canvas

what happen?

image

python Project -/Desktop/python Project >venv : ex1.py graphics.py gui.py main.py > 24 space.py value.py e ex1 x 2 3 4 5 6 7 from graphics import graphics def main(); main() gui= graphics (500 500'canvas') gui.rectangle (200 200 188 180, 'blue') gui.draw() main() /Users/kunfengli/Desktop/python Project/venv/bin/python /Users/kunfengli/Des canvas g A V D

Step by Step Solution

3.53 Rating (156 Votes )

There are 3 Steps involved in it

Step: 1

It is possible that there is an issue with the GUI library you are using or the version of Python y... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Project Management The Managerial Process

Authors: Eric W Larson, Clifford F. Gray

8th Edition

1260570436, 978-1260570434

More Books

Students also viewed these Programming questions

Question

What is financial engineering? When does it create value?

Answered: 1 week ago