String
- class pyarts.arts.String(*args, **kwargs)
Basic string type
Workspace methods that require String
Overview
Method
Read variable from file
Method
Saves variable to file
Static Method
Create variable from file
Operator
__add__(self, arg: object, /) -> object
Operator
__and__(self, arg: object, /) -> object
Operator
__divmod__(self, arg: object, /) -> object
Operator
__eq__(self, arg: object, /) -> object
Operator
__floordiv__(self, arg: object, /) -> object
Operator
__ge__(self, arg: object, /) -> object
Operator
Get item from string
Operator
__getstate__(self) -> tuple[str]
Operator
__gt__(self, arg: object, /) -> object
Operator
Allows hashing
Operator
__le__(self, arg: object, /) -> object
Operator
Length of the string
Operator
__lt__(self, arg: object, /) -> object
Operator
__matmul__(self, arg: object, /) -> object
Operator
__mod__(self, arg: object, /) -> object
Operator
__mul__(self, arg: object, /) -> object
Operator
__ne__(self, arg: object, /) -> object
Operator
__or__(self, arg: object, /) -> object
Operator
__pow__(self, arg: object, /) -> object
Operator
__radd__(self, arg: object, /) -> object
Operator
__rand__(self, arg: object, /) -> object
Operator
__rdivmod__(self, arg: object, /) -> object
Operator
__rfloordiv__(self, arg: object, /) -> object
Operator
__rmatmul__(self, arg: object, /) -> object
Operator
__rmod__(self, arg: object, /) -> object
Operator
__rmul__(self, arg: object, /) -> object
Operator
__ror__(self, arg: object, /) -> object
Operator
__rpow__(self, arg: object, /) -> object
Operator
__rsub__(self, arg: object, /) -> object
Operator
__rtruediv__(self, arg: object, /) -> object
Operator
__setstate__(self, arg: tuple[str], /) -> None
Operator
__truediv__(self, arg: object, /) -> object
Constructors
- __init__(self) None
- __init__(self, arg: str, /) None
- __init__(self, arg: pyarts.arts.String) None
- __init__(self, arg: bytes, /) None
Methods
- readxml(self, file: str) None
Read variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
- savexml(self, file: str, type: str = 'ascii', clobber: bool = True) None
Saves variable to file
- Parameters:
- On Error:
Throws RuntimeError for any failure to save
Static Methods
- fromxml(file: str) pyarts.arts.String
Create variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
Operators
- __add__(self, arg: pyarts.arts.String, /) object
- __add__(self, arg: object, /) object
- __and__(self, arg: pyarts.arts.String, /) object
- __and__(self, arg: object, /) object
- __divmod__(self, arg: pyarts.arts.String, /) object
- __divmod__(self, arg: object, /) object
- __eq__(self, arg: pyarts.arts.String, /) object
- __eq__(self, arg: object, /) object
- __floordiv__(self, arg: pyarts.arts.String, /) object
- __floordiv__(self, arg: object, /) object
- __ge__(self, arg: pyarts.arts.String, /) object
- __ge__(self, arg: object, /) object
- __gt__(self, arg: pyarts.arts.String, /) object
- __gt__(self, arg: object, /) object
- __le__(self, arg: pyarts.arts.String, /) object
- __le__(self, arg: object, /) object
- __lt__(self, arg: pyarts.arts.String, /) object
- __lt__(self, arg: object, /) object
- __matmul__(self, arg: pyarts.arts.String, /) object
- __matmul__(self, arg: object, /) object
- __mod__(self, arg: pyarts.arts.String, /) object
- __mod__(self, arg: object, /) object
- __mul__(self, arg: pyarts.arts.String, /) object
- __mul__(self, arg: object, /) object
- __ne__(self, arg: pyarts.arts.String, /) object
- __ne__(self, arg: object, /) object
- __or__(self, arg: pyarts.arts.String, /) object
- __or__(self, arg: object, /) object
- __pow__(self, arg: pyarts.arts.String, /) object
- __pow__(self, arg: object, /) object
- __radd__(self, arg: pyarts.arts.String, /) object
- __radd__(self, arg: object, /) object
- __rand__(self, arg: pyarts.arts.String, /) object
- __rand__(self, arg: object, /) object
- __rdivmod__(self, arg: pyarts.arts.String, /) object
- __rdivmod__(self, arg: object, /) object
- __rfloordiv__(self, arg: pyarts.arts.String, /) object
- __rfloordiv__(self, arg: object, /) object
- __rmatmul__(self, arg: pyarts.arts.String, /) object
- __rmatmul__(self, arg: object, /) object
- __rmod__(self, arg: pyarts.arts.String, /) object
- __rmod__(self, arg: object, /) object
- __rmul__(self, arg: pyarts.arts.String, /) object
- __rmul__(self, arg: object, /) object
- __ror__(self, arg: pyarts.arts.String, /) object
- __ror__(self, arg: object, /) object
- __rpow__(self, arg: pyarts.arts.String, /) object
- __rpow__(self, arg: object, /) object
- __rsub__(self, arg: pyarts.arts.String, /) object
- __rsub__(self, arg: object, /) object
- __rtruediv__(self, arg: pyarts.arts.String, /) object
- __rtruediv__(self, arg: object, /) object
- __truediv__(self, arg: pyarts.arts.String, /) object
- __truediv__(self, arg: object, /) object