TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #422 · 30 мар.

Если запустить REPL с модулем asyncio, то вы входите в особый асинхронный REPL. user@host:~$ python -m asyncio asyncio REPL 3.12.7 ... Use "await" directly instead of "asyncio.run()". >>> import asyncio >>> В этом режиме - создаётся и настраивается event loop - уже импортирован asyncio - работает await на верхнем уровне То есть такая команда сработает без ошибок! await asyncio.sleep(3) Удобно для тестирования асинхронных функций без создания ивентлупов и остальной обвязки. Работает в: 3.8+ #tricks#async

Резултати

Пронајдени 1 слични објави

Пребарај: #johnross

当前筛选 #johnross清除筛选

🏙The John Ross House in Durban is a 33-storey skyscraper on the iconic Victoria Embankment. Named after John Ross (real name: Charles Rawden Maclean), who at just 15 years old walked 600 km (370 mi) from Port Natal to Delagoa Bay and back — to bring medicine and supplies to the crew of a shipwrecked vessel. It happened in1825. ⛵️ 🗿 A statue of him stands outside the building. 🍽 At the top of the tower is the Roma Revolving Restaurant, offering panoramic views of Durban. 🏢 The building stands 109 meters (358 ft) tall and was renovated in 2009. Today, it serves both residential and commercial purposes. #Durban#SouthAfrica#Architecture#History#JohnRoss#Landmarks#VictoriaEmbankment#Skyscrapers#RomaRestaurant#Africa