write method

write

Writes the text representation of a Boolean value to the text stream.

def write(self, value):
    ...
ParameterTypeDescription
valueboolA Boolean value.

write

Writes a character to the text stream.

def write(self, value):
    ...
ParameterTypeDescription
valuecharA character.

write

Writes a string to the text stream.

def write(self, value):
    ...
ParameterTypeDescription
valuestrA character string.

write

Writes a character array to the text stream.

def write(self, value):
    ...
ParameterTypeDescription
valuelistA character array.

write

def write(self, value):
    ...
ParameterTypeDescription
valuedecimal

write

Writes the text representation of an 8-byte floating-point value to the text stream.

def write(self, value):
    ...
ParameterTypeDescription
valuefloatA double value.

write

Writes the text representation of a 4-byte floating-point value to the text stream.

def write(self, value):
    ...
ParameterTypeDescription
valuefloatA float value.

write

Writes the text representation of a 4-byte signed integer to the text stream.

def write(self, value):
    ...
ParameterTypeDescription
valueintAn integer value.

write

Writes the text representation of an 8-byte signed integer to the text stream.

def write(self, value):
    ...
ParameterTypeDescription
valueintA long integer value.

write

Writes the text representation of a 4-byte unsigned integer to the text stream.

def write(self, value):
    ...
ParameterTypeDescription
valueintAn unsigned integer value.

write

Writes the text representation of an 8-byte unsigned integer to the text stream.

def write(self, value):
    ...
ParameterTypeDescription
valueintAn unsigned long integer value.

See Also