Question: 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?

python Project -/Desktop/python Project >venv : ex1.py graphics.py gui.py main.py > 24

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

1 Expert Approved Answer
Step: 1 Unlock

It is possible that there is an issue with the GUI library you are using or the version of Python y... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!