Fredrik Lundh wrote: > Philippe Martin wrote: > >> l_init really is a boolean parameter and l_value a value that _might_ >> exist in a shelve. >> >> So I just want to have a parameter to a method so if the first value >> tested is false (l_init) then the second (l_value) does not get tested >> ... because it is the second in the statement and only seems to get >> evaluated if the > > how do you look things up in the shelve ? > > </F>
l_value = m_data['MY_KEY'] Philippe -- http://mail.python.org/mailman/listinfo/python-list