tzot
tzot

Reputation: 95911

What can it mean if an object is scriptable?

Exactly what the title says. Note, this is not about "subscriptable" objects.

Upvotes: 1

Views: 598

Answers (2)

Matthew Trevor
Matthew Trevor

Reputation: 14952

It means nothing in Python as scriptable objects are provided by Enthought's Traits module.

From Application Scripting Framework, which mentions that:

A scriptable type is a sub-type of HasTraits that has scriptable methods and scriptable traits.

And goes on to define:

A scriptable object is an instance of a scriptable type.

Traits is not part of the standard library but it is distributed as part of the Enthought Python Distribution.

Please don't confuse the two.

Upvotes: 2

tzot
tzot

Reputation: 95911

A scriptable object is an object that records the operations done to it and it can store them as a "script" which can be replayed.

For example, see: Application Scripting Framework

Upvotes: 1

Related Questions