Re: Config & ConfigParser

2013-03-07 Thread Neil Cerutti
On 2013-03-06, Chris Angelico wrote: > On Wed, Mar 6, 2013 at 2:31 PM, Steven D'Aprano > wrote: >> What configuration settings does your podcast catcher software >> need? What makes you think it needs any? Don't over-engineer >> your application from the start. Begin with the simplest thing >> tha

Re: Config & ConfigParser

2013-03-05 Thread Chris Angelico
On Wed, Mar 6, 2013 at 3:54 PM, Steven D'Aprano wrote: > On Wed, 06 Mar 2013 15:19:53 +1100, Chris Angelico wrote: > >> On Wed, Mar 6, 2013 at 3:07 PM, Chuck wrote: >>> I guess my question was more what is a config.file & why/how do I use >>> one. Thanks >> >> In its simplest form, a config file

Re: Config & ConfigParser

2013-03-05 Thread Steven D'Aprano
On Wed, 06 Mar 2013 15:19:53 +1100, Chris Angelico wrote: > On Wed, Mar 6, 2013 at 3:07 PM, Chuck wrote: >> I guess my question was more what is a config.file & why/how do I use >> one. Thanks > > In its simplest form, a config file is one way to change a program's > behaviour without editing th

Re: Config & ConfigParser

2013-03-05 Thread Chris Angelico
On Wed, Mar 6, 2013 at 3:07 PM, Chuck wrote: > I guess my question was more what is a config.file & why/how do I use one. > Thanks In its simplest form, a config file is one way to change a program's behaviour without editing the code. They're helpful when you want to be able to run the same prog

Re: Config & ConfigParser

2013-03-05 Thread Chuck
I guess my question was more what is a config.file & why/how do I use one. Thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: Config & ConfigParser

2013-03-05 Thread Chris Angelico
On Wed, Mar 6, 2013 at 2:31 PM, Steven D'Aprano wrote: > What configuration settings does your podcast catcher software need? What > makes you think it needs any? Don't over-engineer your application from > the start. Begin with the simplest thing that works, and go from there. Agreed. The way I

Re: Config & ConfigParser

2013-03-05 Thread Steven D'Aprano
On Tue, 05 Mar 2013 18:15:20 -0600, Tim Chase wrote: > On 2013-03-05 15:58, Chuck wrote: >> Thanks Tim! So much stuff I haven't thought of before. Out of >> curiosity, what's the benefit of caching the download, instead of >> downloading to the final destination? > > If your connection gets in

Re: Config & ConfigParser

2013-03-05 Thread Steven D'Aprano
On Tue, 05 Mar 2013 12:09:38 -0800, Chuck wrote: > I'm curious about using configuration files. Can someone tell me how > they are used? I'm writing a podcast catcher and would like to set up > some default configurations, e.g. directory, etcOther than default > directory, what are some of

Re: Config & ConfigParser

2013-03-05 Thread Tim Chase
On 2013-03-05 15:58, Chuck wrote: > Thanks Tim! So much stuff I haven't thought of before. Out of > curiosity, what's the benefit of caching the download, instead of > downloading to the final destination? If your connection gets interrupted, the server goes down, etc, you have a partial downl

Re: Config & ConfigParser

2013-03-05 Thread Chuck
Thanks Tim! So much stuff I haven't thought of before. Out of curiosity, what's the benefit of caching the download, instead of downloading to the final destination? So much stuff they never teach you school.So much theory & not enough practice. :( -- http://mail.python.org/mailman/l

Re: Config & ConfigParser

2013-03-05 Thread Tim Chase
On 2013-03-05 12:09, Chuck wrote: > I'm curious about using configuration files. Can someone tell me > how they are used? I'm writing a podcast catcher and would like > to set up some default configurations, e.g. directory, etcOther > than default directory, what are some of the things that

Config & ConfigParser

2013-03-05 Thread Chuck
I'm curious about using configuration files. Can someone tell me how they are used? I'm writing a podcast catcher and would like to set up some default configurations, e.g. directory, etcOther than default directory, what are some of the things that are put in a configuration file? They