Can I redirect the stdout into some sort of string buffer?
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Fantascape Looping
--
Chapters
00:00 Question
00:44 Accepted answer (Score 250)
00:57 Answer 2 (Score 138)
01:22 Answer 3 (Score 41)
01:56 Answer 4 (Score 11)
02:39 Thank you
--
Full question
https://stackoverflow.com/questions/1218...
Answer 1 links:
[contextlib.redirect_stdout()]: http://docs.python.org/3/library/context...
[code example that shows how to implement it on older Python versions]: https://stackoverflow.com/a/22434262
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #stream #stdout #redirect
#avk47
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Fantascape Looping
--
Chapters
00:00 Question
00:44 Accepted answer (Score 250)
00:57 Answer 2 (Score 138)
01:22 Answer 3 (Score 41)
01:56 Answer 4 (Score 11)
02:39 Thank you
--
Full question
https://stackoverflow.com/questions/1218...
Answer 1 links:
[contextlib.redirect_stdout()]: http://docs.python.org/3/library/context...
[code example that shows how to implement it on older Python versions]: https://stackoverflow.com/a/22434262
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #stream #stdout #redirect
#avk47