PythonScript Xojo Plugin

PythonEntity Class (console safe)

A class that represents Python entities. It can be String, Integer, Dictionary or Tuple for example.

PythonEntityBase
   PythonEntity

class PythonEntity

Constructors

PythonEntityThis constructor is Private since this class should be constructed with the shared methods on the class.

Properties

BooleanValue (console safe) Returns Boolean value from the entity.
DictionaryValue (console safe) Returns PythonDictionary value from the entity.
DoubleValue (console safe) Returns Double value from the entity.
Int32Value (console safe) Returns 32 bit signed integer value from the entity.
Int64Value (console safe) Returns 64 bit signed integer value from the entity.
IsBoolean (console safe) Returns true if the entity contains Boolean, else false.
IsDictionary (console safe) Returns true if the entity contains Dictionary, else false.
IsDouble (console safe) Returns true if the entity contains Double number, else false.
IsInteger (console safe) Returns true if the value is integer.
IsList (console safe) Returns true if the entity contains List, else false.
IsObject (console safe) Returns true if the value stores an object.
IsString (console safe) Returns true if the entity contains String, else false.
IsTuple (console safe) Returns true if the entity contains Tuple, else false.
ObjectValue (console safe) Returns Object value from the entity.
StringValue (console safe) Returns String value from the entity.
TupleValue (console safe) Returns PythonParameters value which represents a Tuple from the entity.
UInt64Value (console safe) Returns 64 bit unsigned integer value from the entity.

Methods

shared FromBooleanConstructs PythonEntity from a Boolean value.
shared FromDoubleConstructs PythonEntity from a Double value.
shared FromInt32Returns true if the value of the entity fits in 32 bit integer.
shared FromInt64Constructs Python3Entity from a Int64 value.
shared FromObjectConstructs Python3Entity from a Xojo Object value.
shared FromStringConstructs Python3Entity from a String value.
shared FromUInt64Constructs Python3Entity from a UInt64 value.

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