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

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.