Skip to content

Unable to print to console without a newline #2700

Answered by tomchristie
yozachar asked this question in Q&A
Discussion options

You must be logged in to vote

This isn't anything to do with httpx, but anyways...

Probably because of console buffering. If you don't want the newline perhaps you need to explicitly use flush=True?...

https://stackoverflow.com/questions/230751/how-can-i-flush-the-output-of-the-print-function

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@yozachar
Comment options

Answer selected by yozachar
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants