Re: Where to set default data - where received, or where used

2012-06-12 Thread Chris Angelico
On Tue, Jun 12, 2012 at 4:37 AM, Dennis Carachiola dnca...@gmail.com wrote: Here's my question.  I could do this by creating the dictionary with the default values, then read the file into it.  Or I could use a 'get' with default values at the location in the program where those values are

Where to set default data - where received, or where used

2012-06-11 Thread Dennis Carachiola
I'm programming a project which will use a file to save parameters needed by the program. There are already two previous file formats, each of which can only be run by the version of the program which created them. I'm trying to avoid that problem in the future. To do that, I intend to use a

RE: Where to set default data - where received, or where used

2012-06-11 Thread Nick Cash
- From: python-list-bounces+nick.cash=npcinternational@python.org [mailto:python-list-bounces+nick.cash=npcinternational@python.org] On Behalf Of Dennis Carachiola Sent: Monday, June 11, 2012 13:38 To: python-list@python.org Subject: Where to set default data - where received, or where used

Re: Where to set default data - where received, or where used

2012-06-11 Thread Dave Angel
On 06/11/2012 02:37 PM, Dennis Carachiola wrote: I'm programming a project which will use a file to save parameters needed by the program. There are already two previous file formats, each of which can only be run by the version of the program which created them. I'm trying to avoid that