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

2010-06-16 Thread Steven D'Aprano
On Thu, 17 Jun 2010 03:44:58 am Jeff Johnson wrote: > I will send you my python script that reads and writes to a windows > style .ini file if you want me to. How is your script different from the standard ConfigParser module? -- Steven D'Aprano ___

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

2010-06-16 Thread Jeff Johnson
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 calle

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

2010-06-16 Thread R. Alan Monroe
> On Tue, Jun 15, 2010 at 2:27 PM, 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 >> fold

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

2010-06-15 Thread Jeff Johnson
Steven D'Aprano wrote: On Tue, 15 Jun 2010 10:27:43 pm 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 t

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

2010-06-15 Thread Steven D'Aprano
On Tue, 15 Jun 2010 10:27:43 pm 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 th

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

2010-06-15 Thread Hugo Arts
On Tue, Jun 15, 2010 at 2:27 PM, 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

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

2010-06-15 Thread Christian Witts
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 calle

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

2010-06-15 Thread Pete O'Connell
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 bes