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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #345 · 9 окт.

Функция dir() - удобна для получения списка атрибутов у любого объекта. Ранее я писал про функцию __dir__() в модуле (не путайте её с переменной __all__(), которая указывает список объектов для импорта если встречается конструкция from module import *). Скорее всего вы уже знаете как использовать функцию dir(). Любой объект может реализовать метод __dir__() чтобы указать список имеющийхся и динамических атрибутов. И функция dir() поможет получить список этих атрибутов. >>> dir(str) ['__add__', '__class__', '__contains__', ...] У этой функции есть еще один способ применения. Её можно вызвать без аргумента, и в таком случае она вернёт список имён в текущем неймспейсе. >>> dir() ['__builtins__', '__doc__', '__file__', ...] >>> def test(): >>> x = 1 >>> print(dir()) >>> test() ['x'] #basic#tricks

Резултати

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

Пребарај: #tides

当前筛选 #tides清除筛选
Bali News

@balinews · Post #81 · 09.06.2024 г., 10:59

🌊 Bali authorities warn of high tides 🌤 Bali's Meteorology, Climate and Geophysics Agency is warning of extreme weather conditions for several days. In particular, of extremely high tides on the southern coast of the island. ❌ The population and tourists are advised to temporarily refrain from bathing on the beach of Kuta. @BaliNews #weather#tides#Kuta

Interesting Planet 🌍

@interesting_planet_facts · Post #711 · 08.09.2025 г., 16:22

🌎 In Australia’s Kimberley region, the Horizontal Falls are created when huge tidal currents force seawater through narrow rock gorges, producing powerful, temporary waterfalls that appear to flow sideways. Tides here can rise over 10 meters, creating one of the world’s most unusual tidal phenomena. ✨ #tides⚡#waterfalls⚡#Australia 👉subscribe Interesting Planet ​

Amazing Geography 🌍

@amazingeo · Post #265 · 19.09.2025 г., 13:12

🌍 Earth’s tides are driven mostly by the Moon’s gravity, causing oceans to rise and fall all over the globe. These constant movements help mix ocean waters and shape coastal ecosystems. ✨ #tides⚡#ocean⚡#cycles⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography🌍 ​

Amazing Geography 🌍

@amazingeo · Post #318 · 01.10.2025 г., 12:31

🌍 The Wadden Sea along Europe’s North Sea coast is the world’s largest tidal mudflat system. Twice daily, the sea retreats for kilometers, revealing vast sandbanks and rich habitats for millions of migratory birds. ✨ #coastline⚡#tides⚡#wildlife⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Amazing Geography 🌍

@amazingeo · Post #617 · 06.02.2026 г., 20:31

🌍 The Bay of Fundy in eastern Canada experiences the highest tidal range on Earth—up to 16 meters between high and low tide. These extreme tides carve dramatic coastal cliffs and ever-changing mudflats. ✨ #tides⚡#coast⚡#landscape⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​