wood burning stoves 2.0
The moose likes Jython/Python and the fly likes python offers dynamic classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Jython/Python
Bookmark "python offers dynamic classes" Watch "python offers dynamic classes" New topic

python offers dynamic classes

Steve Fahlbusch

Joined: Sep 18, 2000
Posts: 596

Greetings All,

For those of you that want to ask, why python??? python offers dynamic classes (among other things) :-)

what this means is that you can create new attributes and new methods on classes you use.

This is quite cool when you need to change the default functionality provided by classes you use.

Be well.

andrew sydor

Joined: Oct 20, 2009
Posts: 15
Because, Python is very good programming language and have a lot of good libraries for everything.
Steve Fahlbusch

Joined: Sep 18, 2000
Posts: 596

Well ok, but you seemed to miss the point of my post.

There are great libraries (no where as good as java) but you can dynamically extend them. Like (what should be) BigIntiger - you want to make a return of a long or even better BigInteger - you can in python on the fly.
I agree. Here's the link: http://aspose.com/file-tools
subject: python offers dynamic classes
It's not a secret anymore!