From NZPUG: Smart Iterator Challenge

2022-10-06 Thread dn
A week-by-week Challenge series. A new venture by the Auckland Branch of the New Zealand Python Users' Group (AuckPUG) Challenge-week 2: Modular programming - starts today Please note: all times are NZDT, ie UTC+13 All welcome! - will suit Python-Apprentices ready to move-on from 'the basics'

Pythonic way to run the asyncio loop forever in python 3.10

2022-10-06 Thread David Jander
Hello, It is highly likely this has been discussed before, but I haven't been able to find the answer to my question, so if anyone knows, please send me to the right place. Thanks. I am migrating a lot of python software to 3.10, which has deprecated calling asyncio.get_event_loop() from outsid