from_address method

from_address

Define the interface for get SourceText from string.

Returns

The SourceText.

def from_address(self, text):
    ...
ParameterTypeDescription
textstrThe string text.

from_address

Define the interface for get SourceText from array of the source.

Returns

The SourceText.

def from_address(self, source):
    ...
ParameterTypeDescription
sourcelistThe SourceText.

from_address

Define the interface for get SourceText from string and encoding.

Returns

The SourceText.

def from_address(self, text, encoding):
    ...
ParameterTypeDescription
textstrThe string text.
encodingSystem.Text.EncodingThe encoding.

See Also