IOConsole
Type | Description |
---|---|
IOStreamProtocol | AsyncIOStreamProtocol | IOStream: The default input/output stream. |
Type | Description |
---|---|
IOStreamProtocol | AsyncIOStreamProtocol | IOStream: The default input/output stream. |
Name | Description |
---|---|
stream | The input/output stream to set as the default. Type: IOStreamProtocol | AsyncIOStreamProtocol | None |
Name | Description |
---|---|
stream | The input/output stream to set as the default. Type: IOStreamProtocol | AsyncIOStreamProtocol |
Name | Description |
---|---|
prompt | The prompt to display. Defaults to "". Type: str Default: ” |
password | Whether to read a password. Defaults to False. Type: bool Default: False |
Type | Description |
---|---|
str | str: The line read from the input stream. |
Name | Description |
---|---|
*objects | Type: Any |
sep | The separator between objects. Defaults to ” ”. Type: str Default: ’ ‘ |
end | The end of the output. Defaults to “ Type: str Default: ‘\n’ |
flush | Whether to flush the output. Defaults to False. Type: bool Default: False |
Name | Description |
---|---|
message | The message to send. Type: BaseEvent |