Duh v D'oh

Paul Makepeace paulm at paulm.com
Thu Nov 13 13:15:44 GMT 2008


On Thu, Nov 13, 2008 at 12:59 PM, Philippe Bruhat (BooK)
<philippe.bruhat at free.fr> wrote:
> On Thu, Nov 13, 2008 at 12:34:54PM +0000, Paul Makepeace wrote:
>>
>> stix:~$ python
>> Python 2.4.5 (#2, Aug  1 2008, 12:02:10)
>> [GCC 4.3.1] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> a = {'foo': 'bar'}
>> >>> a['foo']
>> 'bar'
>> >>> for k in a:
>> ...   print k
>> ...
>> foo
>> >>> for k in a: print k
>> ...
>> foo
>
>>>> exit
> Use exit() or Ctrl-D (i.e. EOF) to exit
>>>>
>
> OK, it was easy, but it illustrates the differences in mentality so
> well. ;-)

  DB<1> exit
Debugged program terminated.  Use q to quit or R to restart,
  use o inhibit_exit to avoid stopping after program termination,
  h q, h R or h o to get additional info.
  DB<2>

Not sure what to conclude from either of those :-)

>
> --
>  Philippe Bruhat (BooK)
>
>  Putting beauty before brains is the surest way to wind up with neither.
>                                    (Moral from Groo The Wanderer #24 (Epic))
>


More information about the london.pm mailing list