On Thu, Feb 19, 2009 at 8:39 PM, Lie Ryan wrote:
> On Thu, 19 Feb 2009 11:45:52 -0800, Marc Tompkins wrote:
> > Don't use reserved words as variable names!
>
>
> str, set is built-in function not reserved words. Reserved words are like
> if, for, from, as (see the whole list type keywords in hel
On Thu, 19 Feb 2009 11:45:52 -0800, Marc Tompkins wrote:
> Don't use reserved words as variable names!
str, set is built-in function not reserved words. Reserved words are like
if, for, from, as (see the whole list type keywords in help() )
Nevertheless, it is a bad idea to use built-in funct
Oops, hit send by mistake...continued below.
On Thu, Feb 19, 2009 at 3:40 PM, Kent Johnson wrote:
> On Thu, Feb 19, 2009 at 2:34 PM, Isaac Eiland-Hall
> wrote:
>> http://python.pastebin.com/m26864a1b
>>
>>
>>
>> Traceback (most recent call last):
>>
>> File "./loopy", line 328,
On Thu, Feb 19, 2009 at 2:34 PM, Isaac Eiland-Hall wrote:
> http://python.pastebin.com/m26864a1b
>
>
>
> Traceback (most recent call last):
>
> File "./loopy", line 328, in
>
>
> set[current_set][current_section][current_key] = current_value
>
> KeyError: 'DEFAULT'
> So what I'm
On Thu, Feb 19, 2009 at 11:34 AM, Isaac Eiland-Hall wrote:
> http://python.pastebin.com/m26864a1b
>
>
>
> Traceback (most recent call last):
>
> File "./loopy", line 328, in
>
>
> set[current_set][current_section][current_key] = current_value
>
> KeyError: 'DEFAULT'
>
One thing p
http://python.pastebin.com/m26864a1b
Traceback (most recent call last):
File "./loopy", line 328, in
set[current_set][current_section][current_key] = current_value
KeyError: 'DEFAULT'
First, apologies for the formatting - I'm teaching myself python after
having t