simple print a message Args: content: content of the message Returns: None
(content)
| 50 | |
| 51 | |
| 52 | def write(content): |
| 53 | """ |
| 54 | simple print a message |
| 55 | |
| 56 | Args: |
| 57 | content: content of the message |
| 58 | |
| 59 | Returns: |
| 60 | None |
| 61 | """ |
| 62 | sys.stdout.buffer.write( |
| 63 | bytes(content, "utf8") if isinstance(content, str) else content |
| 64 | ) |
| 65 | sys.stdout.flush() |
| 66 | return |
| 67 | |
| 68 | |
| 69 | def warn(content): |
no outgoing calls