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 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...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Project Management The Managerial Process
Authors: Eric W Larson, Clifford F. Gray
8th Edition
1260570436, 978-1260570434
Students also viewed these Programming questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App