Re: [Tutor] Return Variable from Function.

2014-05-20 Thread ALAN GAULD
>Thanks so much for your answer Alan! it gave me something to work with :), unfortunately it stills not working :/ > >I've made several comments in the code...           >def prompt_desition(message, proceed_label, cancel_label,return_value): >    "Display a window with the selected messag

Re: [Tutor] Return Variable from Function.

2014-05-20 Thread Alan Gauld
On 20/05/14 13:33, rsm wrote: I've been having some problems to return the variable from a function so i decided to try to do it with with global variables, That's usually a bad idea. However, what you have not shown us is what you did try that didn't work. (Unless thats what the snippet belo

[Tutor] Return Variable from Function.

2014-05-20 Thread rsm
Hello, (im using python 2.7) I've been having some problems to return the variable from a function so i decided to try to do it with with global variables, but the script is not working good. I've been reading tutorials but i just don't get how to do it and i would like to ask for some help >