[Tutor] conventions for establishing and saving default values for variables
Jeff Johnson
jeff at dcsoftware.com
Wed Jun 16 19:44:58 CEST 2010
Pete O'Connell wrote:
> 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
> ------------------------------------------------------------------------
>
>
I will send you my python script that reads and writes to a windows
style .ini file if you want me to.
--
Jeff
-------------------
Jeff Johnson
jeff at dcsoftware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100616/2abd2306/attachment.html>
More information about the Tutor
mailing list