Beginning with Classes

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

    #1

    Beginning with Classes

    Hello,

    For almost half a year I'm programming in Python. I never programmed before
    Python. In that half year I learned a lot, but one thing I still can't
    programme correct... Classes.

    Is there a tutorial or a documentation about Python and classes. Starting
    from beginners and ending in avarege or expert?

    Thank you,

    Noud Aldenhoven
    The Netherlands
  • Stefan Axelsson

    #2
    Re: Beginning with Classes

    Noud Aldenhoven wrote:
    [color=blue]
    > Is there a tutorial or a documentation about Python and classes. Starting
    > from beginners and ending in avarege or expert?[/color]

    If you haven't read "How to Think Like a Computer Scientist: Learning
    with Python", by Jeff Elkner (et.al.?) then I'd suggest you'd start
    there. Its geared towards beginning programmers and will get you started
    with classes etc. It's available on the web (free as in both beer and
    speech) at http://ibiblio.org/obp/thinkCS/python.php

    Stefan,
    --
    Stefan Axelsson (email at http://www.cs.chalmers.se/~sax)

    Comment

    • Byron

      #3
      Re: Beginning with Classes

      Excellent book! This is where I learned Object-Oriented Programming also.

      Byron
      ---


      Stefan Axelsson wrote:[color=blue]
      > Noud Aldenhoven wrote:
      >[color=green]
      >> Is there a tutorial or a documentation about Python and classes. Starting
      >> from beginners and ending in avarege or expert?[/color]
      >
      >
      > If you haven't read "How to Think Like a Computer Scientist: Learning
      > with Python", by Jeff Elkner (et.al.?) then I'd suggest you'd start
      > there. Its geared towards beginning programmers and will get you started
      > with classes etc. It's available on the web (free as in both beer and
      > speech) at http://ibiblio.org/obp/thinkCS/python.php
      >
      > Stefan,[/color]

      Comment

      • beliavsky@aol.com

        #4
        Re: Beginning with Classes

        Noud Aldenhoven <jwaixs@freeler .nl> wrote in message news:<a37cb$418 cce14$53e8229a$ 32210@freeler.n l>...[color=blue]
        > Hello,
        >
        > For almost half a year I'm programming in Python. I never programmed before
        > Python. In that half year I learned a lot, but one thing I still can't
        > programme correct... Classes.
        >
        > Is there a tutorial or a documentation about Python and classes. Starting
        > from beginners and ending in avarege or expert?
        >[/color]
        The book "Learning Python, Second Edition" by Mark Lutz, David Ascher
        covers OOP with Python in detail, starting from scratch.

        Comment

        • Noud Aldenhoven

          #5
          Re: Beginning with Classes

          Stefan Axelsson wrote:
          [color=blue]
          > Noud Aldenhoven wrote:
          >[color=green]
          >> Is there a tutorial or a documentation about Python and classes. Starting
          >> from beginners and ending in avarege or expert?[/color]
          >
          > If you haven't read "How to Think Like a Computer Scientist: Learning
          > with Python", by Jeff Elkner (et.al.?) then I'd suggest you'd start
          > there. Its geared towards beginning programmers and will get you started
          > with classes etc. It's available on the web (free as in both beer and
          > speech) at http://ibiblio.org/obp/thinkCS/python.php
          >
          > Stefan,[/color]

          I read the book too, but it doesn't dive too deep into classes.
          But you're right! It's a good book to start.

          Thank you,

          Noud

          Comment

          • Thorsten Kampe

            #6
            Re: Beginning with Classes

            * Noud Aldenhoven (2004-11-06 14:33 +0100)[color=blue]
            > For almost half a year I'm programming in Python. I never programmed before
            > Python. In that half year I learned a lot, but one thing I still can't
            > programme correct... Classes.
            >
            > Is there a tutorial or a documentation about Python and classes. Starting
            > from beginners and ending in avarege or expert?[/color]

            * Object Oriented Programming With Python
            http://www.devshed.com/c/a/Python/Ob...Python-part-1/
            http://www.devshed.com/c/a/Python/Ob...Python-part-2/

            Comment

            • Stefan Axelsson

              #7
              Re: Beginning with Classes

              Noud Aldenhoven wrote:
              [color=blue]
              > I read the book too, but it doesn't dive too deep into classes.
              > But you're right! It's a good book to start.[/color]

              OK. What specifically do you have a problem with? Object oriented
              programming in general or how it's implemented in Python in particular?
              If it's the former I'm not sure it's a Python book you're after.

              There ought to be plenty available on the web. In it's day I found "
              Design Patterns Elements of Reusable Object-Oriented Software"
              by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides, helpful
              when it came to the question of how to actually design something the "OO
              way."

              But there's probably a ton of stuff out there.

              If you're into free books and need a deeper Python treatise there's a
              chapter in "Dive into Python", that'll go into a bit more depth than
              "Thinking.. ." but granted there isn't much OO specific in "Dive..."
              Stilla good book though.

              Stefan,
              --
              Stefan Axelsson (email at http://www.cs.chalmers.se/~sax)

              Comment

              • Ivo Woltring

                #8
                Re: Beginning with Classes

                On Mon, 08 Nov 2004 10:22:13 +0100, Stefan Axelsson
                <crap1234@hotma il.com> wrote:
                [color=blue]
                >Noud Aldenhoven wrote:
                >[color=green]
                >> I read the book too, but it doesn't dive too deep into classes.
                >> But you're right! It's a good book to start.[/color]
                >
                >OK. What specifically do you have a problem with? Object oriented
                >programming in general or how it's implemented in Python in particular?
                >If it's the former I'm not sure it's a Python book you're after.
                >
                >There ought to be plenty available on the web. In it's day I found "
                >Design Patterns Elements of Reusable Object-Oriented Software"
                >by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides, helpful
                >when it came to the question of how to actually design something the "OO
                >way."
                >
                >But there's probably a ton of stuff out there.
                >
                >If you're into free books and need a deeper Python treatise there's a
                >chapter in "Dive into Python", that'll go into a bit more depth than
                >"Thinking... " but granted there isn't much OO specific in "Dive..."
                >Stilla good book though.
                >
                >Stefan,[/color]

                YES! I agree completely!

                Comment

                Working...