@naturetravelvacationpictures · Post #403 · 04.04.2019 г., 02:30
🌿❤️✨🍃 Sunrays...🌞 #Water#Nature#Cave Join Us ✅🔜@Discover_Nature 🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #402 · 22 дек.
Отдельно разберём TaskGroup, который пришел на замену gather в Python 3.11. Ключевые отличия ▫️create_task() возвращает объект asyncio.Task, у которого есть соответствюущие методы управления. То есть у нас больше контроля ▫️это контекстный менеджер, который гарантирует что все таски будут остановлены по выходу из контекста ▫️ошибка автоматически отменяет незавершенные задачи, ▫️except* передает нам ExceptionGroup, в котором каждую ошибку можно обработать отдельно import asyncio import random async def do_it() -> str: if random.random() < 0.1: raise ValueError('Oops') delay = random.uniform(0.5, 1.5) await asyncio.sleep(delay) return delay async def main(): try: async with asyncio.TaskGroup() as tg: for _ in range(10): tasks.append(tg.create_task(do_it())) for t in tasks: print(t.result()) except *ValueError as e: for err in e.exceptions: print(err) asyncio.run(main()) Рекомендую изучить страницу Coroutines and Tasks из документации, где представлено больше интересных примеров и механизмов - таймауты - отмена задач - создание задач из другого потока #async
Hashtags
Пребарај: #cave
@naturetravelvacationpictures · Post #403 · 04.04.2019 г., 02:30
🌿❤️✨🍃 Sunrays...🌞 #Water#Nature#Cave Join Us ✅🔜@Discover_Nature 🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃🍃
@bestwallpapes · Post #3245 · 22.01.2025 г., 13:55
@Bestwallpapes #Nature#Cave#Mountain
@interesting_planet_facts · Post #1200 · 07.01.2026 г., 12:11
🌎 Hidden beneath Slovakia, the Ochtinská Aragonite Cave is famous for its rare aragonite crystal formations, which look like tangled white “coral.” Its passages were naturally formed in Paleozoic-era rocks about 400 million years ago. The cave stretches only 300 meters but contains aragonite speleothems found in just a few caves worldwide. ✨ #cave⚡#geology⚡#minerals 👉subscribe Interesting Planet 👉more Channels
@interesting_planet_facts · Post #1070 · 25.11.2025 г., 12:11
🌎 Beneath the waters of the Bahamas, the so-called “blue holes” are deep, vertical underwater caves formed during past ice ages when sea levels were lower. Some exceed 300 meters in depth and preserve ancient fossils and climate records in their oxygen-poor layers. ✨ #ocean⚡#cave⚡#paleoclimate 👉subscribe Interesting Planet 👉more Channels
Hashtags
@expeditionsworldwide · Post #488 · 03.07.2023 г., 13:03
🫶 Dear subscribers! We delighted that you're following our channel! On our channel, you'll find everything about travel! By using hashtags, you can easily find the content that interests you. CHANNEL CONTENT: 📹#videoclips 🧭#expedition 🏔️#hiking 🤿#diving 🧨#unusualplaces ⛩#bridges 🏔#mountains ⌛️#facts ✈️#airplanecemeteries 🗻#hills 🏜#discoveries 🏖#beaches 🈴#China 🕌#India 💒#temples 🏤#architecturalmasterpieces 🚆#journeys 🏜#vacations 🎇#UNESCO ⛰#cliffs 🌋#canyon 🌊#lakes 🏢#skyscrapers ⛲️#waterfalls ⛴#dam 🏕#inaccessibleplaces 🌋#volcano 🚀#traveladvice 🌊#sea 🌲#forest 🏝#island 🌅#desert 🌫#ponds ⛰#cave ⭐️#travelhacks ⛺️#nationalpark Thank you for being a part of our travel community! Happy exploring! 🪐Discover upcoming expeditions — https://4elementos.shop
Hashtags