Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About the default closing of the turtle graphics window #7755

Closed
vsfeedback opened this issue Nov 15, 2023 · 1 comment
Closed

About the default closing of the turtle graphics window #7755

vsfeedback opened this issue Nov 15, 2023 · 1 comment

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


when the turtle program is done,the turtle graphics windows is default closed,i can't keep it on my screen.
I consulted ERNIE Bot. She tried the operation and help, and was unable to find the option of "Close the window after completing the program", so I came to you to respond to the question


Original Comments

Feedback Bot on 11/12/2023, 09:26 PM:

(private comment, text removed)


Original Solutions

(no solutions)

@StellaHuang95
Copy link
Contributor

Hi there, if you're running your code that closes the turtle window immediately after execution, you can add the turtle.done() function at the end of your code. This function keeps the window open until the user closes it manually.

Please reopen the issue if you have any PTVS specific questions. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants