Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97387

Turtle Graphic Window not working from VSCode

$
0
0

I am using Visual Studio Code as my IDE and I am a bit of a beginner with Python so I decided to try out the turtle library built into Python to learn some of the syntax. However, when I tried running just a simple script to see if it would work, the window flashed open for less than a second then closed. I have tried using different extensions and redownloading the python extension for VSCode. This is my code I'm trying to run:

import turtle
geoff = turtle.Turtle()

geoff.forward(100)

Please help as I really can't figure out why the window won't stay open. Thanks!


Viewing all articles
Browse latest Browse all 97387

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>