PythonScript Xojo Plugin

PythonList Class (console safe)

A class that represents Python list object.

PythonEntityBase
   PythonList

class PythonList

Constructors

PythonListConstructor with no parameters.

Properties

Count (console safe) Returns the number of items in the list.

Methods

Append (console safe) Appends item to the list.
AsTuple (console safe) Converts the list to Python 3 Tuple (PythonParameters class)
Clear (console safe) Deletes all items from the list.
GetItem (console safe) Gets item at given index in the list.
Insert (console safe) Inserts item into the list at given index.
Reverse (console safe) Reverses the list in place.
SetItem (console safe) Sets item in the list at given index.
Sort (console safe) Sorts the list in place.

Supported Platforms:

  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM