Python3Script Xojo Plugin

Python3Result Class (console safe)

A class that represents a result from a function call in Python 3.

Object
   Python3Result

class Python3Result

Constructors

Python3ResultConstructs a empty Python3Result
Python3ResultConstructs a result with Int32 value
Python3ResultConstructs a result with Int64 value
Python3ResultConstructs a result with UInt64 value
Python3ResultConstructs a result with double value
Python3ResultConstructs a result with string value
Python3ResultConstructs a result with boolean value
Python3ResultConstructs a result with object value

Methods

BooleanValueReturns boolean value from the result
BytesValueReturns Bytes value from the result as Python3Bytes
DictionaryValueReturns the internal Dictionary value as a Python3Dictionary instance. This is used to read keyed multiple results.
DoubleValueReturns double value from the result
FitsInInt32Returns true if the value at given index fits into 32 bit integer.
shared FromBytesConstructs Python3Result instance from Bytes (Python3Bytes) instance.
GetPtrGets a pointer to the inner Python object of the Python3Result class.
Int32ValueReturns Int32 value from the result
Int64ValueReturns Int64 value from the result
IsBooleanReturns true if the Result is Boolean
IsBytesReturns true if the Result is Bytes
IsDictionaryReturns true if the result is a Dictionary
IsDoubleReturns true if the Result is Double
IsIntegerReturns 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.
IsObjectReturns true if the Result is Xojo or Real Studio object
IsStringReturns true if the Result is String
IsTupleReturns true if the result is a Tuple
ObjectValueReturns a object field from the result. Object field here means that Xojo or Real Studio object gets stored in a Python script
StringValueReturns string value from the result
TupleValueReturns the internal tuple value as a Python3Parameters instance. This is used to read multiple results.
UInt64ValueReturns UInt32 value from the result

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