[Tutor] conventions for establishing and saving default values for variables

Pete O'Connell pedrooconnell at gmail.com
Tue Jun 15 14:27:43 CEST 2010


Hi I was wondering if anyone could give me some insight as to the best way
to get and save variables from a user the first time a script is opened. For
example if the script prompts something like "What is the path to the
folder?" and the result is held in a variable called thePath, what is the
best way to have that variable saved for all subsequent uses of the script
by the same user.
Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100615/48a89d94/attachment.html>


More information about the Tutor mailing list