Skip to content

Conversation

@Suyun114
Copy link

Used readline to make better experience of reading.

Used `readline` to make better experience of reading.
Copy link

@n-WN n-WN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When run in non-interactive mode and with a TTY stdin, the input() method will not read more than 4095 characters

https://bugs.python.org/issue45511

Your method conveniently solves this problem, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants