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. Advertisements

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:
    738
    Lee Weiner
    Apr 20, 2004
  2. Matthias Kaeppler
    Replies:
    1
    Views:
    657
    R.F. Pels
    May 22, 2005
  3. Sameer
    Replies:
    4
    Views:
    834
    Roedy Green
    Aug 31, 2005
  4. Uzytkownik
    Replies:
    3
    Views:
    737
    Uzytkownik
    Apr 3, 2005
  5. Iyer, Prasad C

    Abstract Methods & Abstract Class

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

    Re: Abstract Methods & Abstract Class

    Gerald Klix, Oct 20, 2005, in forum: Python
    Replies:
    1
    Views:
    453
    =?iso-8859-1?B?c+liYXN0aWVu?=
    Oct 20, 2005
  7. Replies:
    1
    Views:
    2,493
    =?ISO-8859-1?Q?Arne_Vajh=F8j?=
    Sep 11, 2006
  8. Kenneth McDonald
    Replies:
    5
    Views:
    651
    Kenneth McDonald
    Sep 26, 2008
Loading...