mulcasterm
Posts: 1
Joined: Wed Sep 04, 2019 12:46 am

How do I make this GUI button run 100 times?

Wed Sep 04, 2019 12:50 am

Hi all,

I need help. I've made a GUI for "International Talk Like a Pirate Day" that generates a random pirate name. However, I can only get it to run once. I want it to repeat ...as a beginner I"m stumped....any advice is much appreciated! Google Doc with code should have commenting rights https://docs.google.com/document/d/1e2i ... sp=sharing

User avatar
MrYsLab
Posts: 375
Joined: Mon Dec 15, 2014 7:14 pm
Location: Noo Joysey, USA

Re: How do I make this GUI button run 100 times?

Wed Sep 04, 2019 6:31 pm

Your document does not have public viewing permissions.

Andyroo

Re: How do I make this GUI button run 100 times?

Wed Sep 04, 2019 7:53 pm

You can post code here.

Use the fifth button in </> to surround the code and it keeps the indentation and cuts the post down in length by providing scroll bars in a box.

The result looks like

Code: Select all

this block here

So blank lines work

   AND
       indentation works
Failing that you could use pastebin as a guest.

Return to “Python”