Python3Script Xojo Plugin

Python3Parameters Class (console safe)

A class that represents a Python 3 parameter block to use when calling functions.

Python3EntityBase
   Python3Parameters

class Python3Parameters implements

IPython3Iterable

Constructors

Python3Parameters (console safe) A constructor that takes number of parameters as parameter.
Python3Parameters (console safe) A constructor that takes Ptr as parameter.

Properties

Count (console safe) Returns the number of parameters in the parameter block.
LastError (console safe)

Methods

BooleanValue (console safe) Sets or gets Boolean value at given index in the Parameter block.
BytesValue (console safe) Sets or gets bytes Python memoryblock value at given index in the Parameter block.
ClearError (console safe)
DictionaryValue (console safe) Sets or gets dictionary value at given index in the Parameter block.
DoubleValue (console safe) Sets or gets Double value at given index in the Parameter block.
FitsInInt32 (console safe) Returns true if the value at given index fits into 32 bit integer.
GetPtr (Inherited) (console safe) Gets pointed to the actual python object under the hood.
Hash (Inherited) (console safe) Computes and return the hash value of the object.
Int32Value (console safe) Sets or gets Int32 value at given index in the Parameter block.
Int64Value (console safe) Sets or gets Int64 value at given index in the Parameter block.
IsBoolean (console safe) Returns true if the parameter at given index is Boolean
IsBytes (console safe) Returns true if the parameter at given index is Python3Bytes.
IsDictionary (console safe) Returns true if the parameter at given index is Python3Dictionary.
IsDouble (console safe) Returns true if the parameter at given index is Double
IsInteger (console safe) Returns true if the parameter at given index is Integer. This means Integer from Python’s perspective. Which from Xojo’s perspective can be any kind of Integer. Python does not differentiate between them.
IsList (console safe) Returns true if the parameter at given index is PythonList object.
IsObject (console safe) Returns true if the parameter at given index is Xojo or Real Studio object
IsString (console safe) Returns true if the parameter at given index is String
IsTuple (console safe) Returns true if the parameter at given index is Python Tuple (Python3Parameters).
ListValue (console safe) Sets or gets List value at given index in the Parameter block.
ObjectValue (console safe) Sets or gets Object value at given index in the Parameter block. In this case you will store or retrieve Xojo object from the Python parameter block.
StringValue (console safe) Sets or gets String value at given index in the Parameter block.
ToString (Inherited) (console safe) Computes a string representation of the object. Returns the string representation on success, empty string on failure.
TupleValue (console safe) Sets or gets tuple value (Python3Parameters) at given index in the Parameter block.
UInt64Value (console safe) Sets or gets UInt64 value at given index in the Parameter block.

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