ChartDirector 7.0 (Python Edition)
pychartdir.binaryPrint
Usage
binaryPrint(p)
Description
Print a text string to STDOUT in binary mode.
On Windows, by default, the Python print statement will print in text mode. It will replace [LF] with [CR][LF]. In addition, it will automatically append a new line at the end of the output. The Python print statement is therefore not suitable for outputting binary image.
In contract, the binaryPrint method will print out a string as is, without any text mode conversions or trailing new line character.
Arguments
Argument | Default | Description |
p | (Mandatory) | A text string to print. |
Return Value
None
© 2021 Advanced Software Engineering Limited. All rights reserved.