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

Python3Result (console safe) | Constructs a empty Python3Result
Python3Result (console safe) | Constructs a result with Int32 value
Python3Result (console safe) | Constructs a result with Int64 value
Python3Result (console safe) | Constructs a result with UInt64 value
Python3Result (console safe) | Constructs a result with double value
Python3Result (console safe) | Constructs a result with string value
Python3Result (console safe) | Constructs a result with boolean value
Python3Result (console safe) | Constructs a result with object value

#### Methods

BooleanValue (console safe) | Returns boolean value from the result
BytesValue (console safe) | Returns Bytes value from the result as Python3Bytes
DictionaryValue (console safe) | Returns the internal Dictionary value as a Python3Dictionary instance. This is used to read keyed multiple results.
DoubleValue (console safe) | Returns double value from the result
FitsInInt32 (console safe) | Returns true if the value at given index fits into 32 bit integer.
shared FromBytes | Constructs Python3Result instance from Bytes (Python3Bytes) instance.
GetPtr (console safe) | Gets a pointer to the inner Python object of the Python3Result class.
Int32Value (console safe) | Returns Int32 value from the result
Int64Value (console safe) | Returns Int64 value from the result
IsBoolean (console safe) | Returns true if the Result is Boolean
IsBytes (console safe) | Returns true if the Result is Bytes
IsDictionary (console safe) | Returns true if the result is a Dictionary
IsDouble (console safe) | Returns true if the Result 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.
IsObject (console safe) | Returns true if the Result is Xojo or Real Studio object
IsString (console safe) | Returns true if the Result is String
IsTuple (console safe) | Returns true if the result is a Tuple
ObjectValue (console safe) | Returns a object field from the result. Object field here means that Xojo or Real Studio object gets stored in a Python script
StringValue (console safe) | Returns string value from the result
TupleValue (console safe) | Returns the internal tuple value as a Python3Parameters instance. This is used to read multiple results.
UInt64Value (console safe) | Returns UInt32 value from the result

#### 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