How would I make it that if I opened pickAFile, that if cancel is pressed in the pickAFile() dialogue box, I want to ask the user if it was a mistake. If it was a mistake, open the pickAFile() dialogue again, and repeat until it is either not a mistake, or a picture file was selected.
Thanks so much in advance!
I have this down, it's not much but its a start...
Thanks so much in advance!
I have this down, it's not much but its a start...
Code:
def exampleA(): file = pickAFile() picture = makePicture(file) show(picture)
Comment