Python is fun (useless social thread) ;-)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • BartlebyScrivener

    #46
    Re: Python is fun (useless social thread) ;-)

    > You know what are dicts, right ? That is, containers with keyword-access[color=blue]
    > to values ? Then you probably have dicts with a known, defined
    > structure, and functions working on it. What classes (and hence 00)
    > gives you is a way to associate these functions with the dicts
    > themselves. That is the big intuition about objects, the rest is just
    > details.[/color]

    Bruno,

    Ever seen this from Fuzzyman? It explicitly uses the dict comparison.

    http://www.voidspace.org.uk/python/a...l#introduction

    Thanks for the tip,

    rd

    Comment

    • Bruno Desthuilliers

      #47
      Re: Python is fun (useless social thread) ;-)

      BartlebyScriven er wrote:[color=blue][color=green]
      >>You know what are dicts, right ? That is, containers with keyword-access
      >>to values ? Then you probably have dicts with a known, defined
      >>structure, and functions working on it. What classes (and hence 00)
      >>gives you is a way to associate these functions with the dicts
      >>themselves. That is the big intuition about objects, the rest is just
      >>details.[/color]
      >
      >
      > Bruno,
      >
      > Ever seen this from Fuzzyman? It explicitly uses the dict comparison.
      >
      > http://www.voidspace.org.uk/python/a...l#introduction[/color]

      Nope - and the site seems to be down actually. But thanks for the
      pointer anyway.
      [color=blue]
      > Thanks for the tip,[/color]

      Welcome to OO !-)

      --
      bruno desthuilliers
      python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
      p in 'onurb@xiludom. gro'.split('@')])"

      Comment

      • John Salerno

        #48
        Re: Python is fun (useless social thread) ;-)

        Bruno Desthuilliers wrote:
        [color=blue][color=green]
        >> Ever seen this from Fuzzyman? It explicitly uses the dict comparison.
        >>
        >> http://www.voidspace.org.uk/python/a...l#introduction[/color]
        >
        > Nope - and the site seems to be down actually. But thanks for the
        > pointer anyway.[/color]

        It works for me, at least now.

        Comment

        Working...