flub = raw_input("Where would you like your save directory to be?) SaveDir = flub
Hello ubuntu, I am writing a python program. My question is, how can I make it so a raw_input asks me a question that defines a variable (in this case variable is flub), then changes the code so that the variable is always the same. When I change the flub variable in the program, I would like it to always remember what I changed the variable to.
Note: this code is just an example, I am really working with an advanced program with a graphical interface, and I didn't want to post it here on the ubuntu fourms. If you have any questions, please ask.
Thanks ubuntu :)