Python3Script Xojo Plugin

Python3List Class (console safe)

A class that represents Python 3 list object.

Python3EntityBase
   Python3List

class Python3List implements

IPython3Iterable

Constructors

Python3List (console safe) Constructor 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 (Python3Parameters class)
Clear (console safe) Deletes all items from the list.
Extend (console safe) Extends the list with the contents of iterable
GetItem (console safe) Gets item at given index in the list.
GetPtr (Inherited) (console safe) Gets pointed to the actual python object under the hood.
GetSlice (console safe) Returns a list of the objects in list containing the objects between lowIndex and highIndex.
Hash (Inherited) (console safe) Computes and return the hash value of the object.
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.
ToString (Inherited) (console safe) Computes a string representation of the object. Returns the string representation on success, empty string on failure.

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit