W3cubDocs

/Haxe Python

Haxe/python API documentation

To get started with the Haxe python target:

python

..
internal
io
lib
net
ArithmeticError
AssertionError
AttributeError
BaseException
BlockingIOError
BrokenPipeError
BufferError
Bytearray
Bytes
BytesWarning
ChildProcessError
ConnectionAbortedError
ConnectionError
ConnectionRefusedError
ConnectionResetError
DeprecationWarning
Dict
DictView
EOFError
EnvironmentError
Exception
FileExistsError
FileNotFoundError
FloatingPointError
FutureWarning
GeneratorExit
HaxeIterable
HaxeIterator
IOError
ImportError
ImportWarning
IndentationError
IndexError
InterruptedError
IsADirectoryError
KeyError
KeyboardInterrupt
KwArgs

This type represents python **kwargs feature, supporting passing named arguments to a function.

Lib

Platform-specific Python Library. Provides some platform-specific functions for the Python target, such as conversion from Haxe types to native types and vice-versa.

LookupError
MemoryError
NameError
NativeArrayTools
NativeIterable

This type represents native Python iterables (objects that implement __iter__() method). It supports Haxe iteration and conversion to Iterable by creating wrapper objects.

NativeIterableRaw

Native Python iterable protocol.

NativeIterator

This type represents native Python iterators. It supports automatic conversion to Haxe Iterator by creating wrapper object.

NativeIteratorRaw

Native Python iterator protocol.

NativeStringTools
NotADirectoryError
NotImplementedError
OSError
OverflowError
PendingDeprecationWarning
PermissionError
ProcessLookupError
PySys
ResourceWarning
RuntimeError
RuntimeWarning
Set
StopIteration
Syntax
SyntaxError
SyntaxWarning
TimeoutError
Tuple
Tuple1
Tuple2
Tuple3
Tuple4
Tuple5
UnboundLocalError
UnicodeDecodeError
UnicodeEncodeError
UnicodeError
UnicodeTranslateError
UnicodeWarning
UserWarning
VMSError
ValueError
VarArgs

This type represents python *args feature, supporting passing arbitrary number of arguments to a function.

Warning
WindowsError
ZeroDivisionError

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/python/