tag:blogger.com,1999:blog-3531969847869413627.post7955452279290936865..comments2023-07-05T07:05:39.753-04:00Comments on Boduch's Blog: Python Abstract ClassAdam Boduchhttp://www.blogger.com/profile/00484502507931628726noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-3531969847869413627.post-68515111396220258042010-07-23T13:00:49.596-04:002010-07-23T13:00:49.596-04:00> Never use it though...
Ooops, I meant "...> Never use it though... <br /><br />Ooops, I meant "I never used it though..."rotogluphttp://rotoglup.blogspot.comnoreply@blogger.comtag:blogger.com,1999:blog-3531969847869413627.post-15945551000562640932010-07-23T12:59:28.565-04:002010-07-23T12:59:28.565-04:00Note that Python 2.6 introduced the concept of abs...Note that Python 2.6 introduced the concept of abstract base classes via the 'abc' module.<br /><br />See http://docs.python.org/library/abc.html<br /><br />Never use it though...rotogluphttp://rotoglup.blogspot.comnoreply@blogger.comtag:blogger.com,1999:blog-3531969847869413627.post-76450464915873904912010-04-30T18:54:13.353-04:002010-04-30T18:54:13.353-04:00Hi. This is a good approach. I'm fairly new to...Hi. This is a good approach. I'm fairly new to Python coming from a Java background. I'm trying to sort of empty by OO glass in this regard. But abstract classes are necessary if something like an 'interface' is not available specifically for this. For my knowledge this is the only type of interface definition in Python. So it is quite reasonable to achieve it like that. Thanks for the insight.<br /><br />http://madchuckle.blogspot.commadchucklehttps://www.blogger.com/profile/16363947092286570283noreply@blogger.com