How to determine an object is "scriptable"

Richard Brodie R.Brodie at rl.ac.uk
Thu Mar 30 09:02:11 EST 2006


"abcd" <codecraig at gmail.com> wrote in message 
news:1143726903.153135.317880 at j33g2000cwa.googlegroups.com...

>I recently came across a problem where I saw this error:
> "TypeError: unsubscriptable object"
>
> How can I determine if an object is "scriptable" or "unscriptable"?

subscriptable: supports an indexing operator, like a list does.






More information about the Python-list mailing list