The Python Oracle

Python how can I manually end an infinite while loop that's collecting data, without ending the code and not using KeyboardInterrupt?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Industries in Orbit Looping

--

Chapters
00:00 Python How Can I Manually End An Infinite While Loop That'S Collecting Data, Without Ending The
01:14 Accepted Answer Score 4
01:47 Answer 2 Score 3
02:28 Answer 3 Score 0
03:07 Thank you

--

Full question
https://stackoverflow.com/questions/5660...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #whileloop #infiniteloop

#avk47