Abstract methods in python - is this a good way ?)

Discussion in 'Python' started by Philipp H. Mohr, Aug 7, 2005.

  1. Hello,

    I would like to use abstract methods in python to force some of the
    classes to implement common methods.

    I found this web page and wonder if it is a good way of implementing them:

    http://www.lychnis.net/blosxom/programming/python-abstract-methods-3.lychnis


    Also could some one please tell me what the type class is which

    class Metaclass (type):

    is inheriting from.

    Thank you,
    Phil
     
    Philipp H. Mohr, Aug 7, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. DaKoadMunky
    Replies:
    4
    Views:
    558
    Lee Weiner
    Apr 20, 2004
  2. Matthias Kaeppler
    Replies:
    1
    Views:
    458
    R.F. Pels
    May 22, 2005
  3. Iyer, Prasad C

    Abstract Methods & Abstract Class

    Iyer, Prasad C, Oct 20, 2005, in forum: Python
    Replies:
    0
    Views:
    541
    Iyer, Prasad C
    Oct 20, 2005
  4. Gerald Klix

    Re: Abstract Methods & Abstract Class

    Gerald Klix, Oct 20, 2005, in forum: Python
    Replies:
    1
    Views:
    348
    =?iso-8859-1?B?c+liYXN0aWVu?=
    Oct 20, 2005
  5. Kenneth McDonald
    Replies:
    5
    Views:
    345
    Kenneth McDonald
    Sep 26, 2008
Loading...

Share This Page