@googlefactss · Post #40792 · 14.03.2026 г., 07:00
Rabbits can see behind themselves without moving their heads due to their laterally placed eyes. Their only, small blind spot is directly in front of their nose. @googlefactss#animals
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #401 · 15 дек.
Функция asyncio.wait() это еще один способ вызвать множество асинхронных задач. Она работает в нескольких режимах. 1. Самый простой - ждем завершения всех задач async def main(): tasks = [asyncio.create_task(do_it(i)) for i in range(10)] done, pending = await asyncio.wait( tasks, return_when=asyncio.ALL_COMPLETED ) for task in done: try: print(task.result()) except Exception as e: print(e) Очень похоже на gather, но работает не так. ▫️возвращает не результаты, а два сета с объектами Task у которых можно забрать результат через task.result() если они в списке done ▫️не гарантирует порядок результатов так как оба объекта это set ▫️не выбрасывает исключение когда оно появляется, а сохраняет его в Task. Исключение появится когда попробуете забрать резултьтат. 2. Ждем завершения первой задачи, даже если там ошибка. async def main(): tasks = [asyncio.create_task(do_it(i)) for i in range(3)] done, pending = await asyncio.wait( tasks, return_when=asyncio.FIRST_COMPLETED ) # в done может быть несколько задач! for task in done: try: print(task.result()) except Exception as e: print(f"Fail: {e}") # Оставшиеся задачи в pending, как правило, нужно отменить, иначе они будут продолжать работать for task in pending: task.cancel() В сете done будут таски которые успели завершится, причем как успешно так и нет. 3. До первой ошибки. Тоже самое, но с аргументом FIRST_EXCEPTION done, pending = await asyncio.wait( tasks, return_when=asyncio.FIRST_EXCEPTION ) Функция завершается как только первая задача упадет с ошибкой. Учтите, что в любом случае done вы можете обранужить несколько задач, как с ошибками так и успешные. ↗️ Полный листинг примеров здесь #async
Hashtags
Пребарај: #animals
@googlefactss · Post #40792 · 14.03.2026 г., 07:00
Rabbits can see behind themselves without moving their heads due to their laterally placed eyes. Their only, small blind spot is directly in front of their nose. @googlefactss#animals
Hashtags
@googlefactss · Post #40547 · 16.01.2026 г., 23:01
The scientific name for "coyote" is canis latrans, which literally means "barking dog", a fitting description for its wide variety of yips, howls, and barks used for communication, with the name coming from the Aztec word for the animal. @googlefactss#animals
Hashtags
@googlefactss · Post #40082 · 13.11.2025 г., 20:50
Female elephants stay with the same herd their entire lives. Males only remain with the herd until they are 12 to 15 years old. The Male elephants then either join a "bachelor" herd or they live alone only rejoining the females during mating season. @googlefactss#animals
Hashtags
@googlefactss · Post #39956 · 27.10.2025 г., 14:20
A zebra's teeth grow continuously throughout its lifetime, offsetting the wear of constant grazing. @googlefactss#animals
Hashtags
@googlefactss · Post #39898 · 03.10.2025 г., 11:12
The world’s largest bat is the giant golden-crowned flying fox, a rare fruit bat. It has a wingspan of 5 to 6 feet (1.5 to 1.8 m). @googlefactss#animals
Hashtags
@profile_pictures_tm · Post #16014 · 15.09.2023 г., 14:50
#Animals❤
Hashtags
@profile_pictures_tm · Post #15228 · 18.07.2023 г., 18:01
#Animals❤
Hashtags
@profile_pictures_tm · Post #14334 · 04.05.2023 г., 19:25
#Animals
Hashtags
@profile_pictures_tm · Post #12335 · 03.12.2022 г., 20:08
#Animals
Hashtags
@ekologuzenglish · Post #11860 · 09.03.2026 г., 15:02
#Animals Animals help each other too, and sometimes they do it more sincerely than humans. In nature, there are many amazing examples of cooperation: birds warn their flock about danger, dolphins support injured companions, elephants protect their calves, and some animals share food with those who are weak. This invisible bond of support and care is part of the harmony of nature. In the wild, survival often depends on cooperation and strong social connections. By observing animals, we learn a simple truth: the world is sustained not only by strength, but also by compassion, trust, and mutual help. 🐾🌿☘️Read the latest environmental news on the @ekologuz page. Follow us and send your suggestions and wishes via @eklguz_bot Instagram | Facebook | Twitter | Sayt | Youtube.
Hashtags
@profile_pictures_tm · Post #11131 · 27.09.2022 г., 05:50
#Animals
Hashtags
@dailychannels · Post #6553 · 19.12.2025 г., 01:00
Channel: Dangerous Earth Members: ~5.44K 💢 Username: @dangerousground Description: Craters, volcanoes, avalanches, brutal animal scenes, deadly attacks by predators and many other strange displays of the forces of nature and its inhabitants. Buy ads: https://telega.io/c/dangerousground 🏷 Tags: #animals https://telegramchannels.me/channels/dangerousground
Hashtags