Why Nostr? What is Njump?
2024-06-01 23:51:06

mitten on Nostr: So I’m trying to write some little static designs with py5 in Thonny, and when I ...

So I’m trying to write some little static designs with py5 in Thonny, and when I run the program, the sketch window opens but closes immediately, so I can’t really see what I’ve drawn. It only seems to happen when there is no “def draw():” component in the program (so, non-animated programs which only have the “def setup():” part). Is there a setting somewhere to tell Thonny to keep the sketch result open after running? #py5 #Python #Thonny
Author Public Key
npub1wh0pa6s4ctjcnzh888cxf2w0tzlhscmkq5kz0dz5unxn4w7ggdvq34yft6