@developmentnewsindia · Post #43847 · 20.04.2026 г., 11:23
7.5 Ricter Scale #Earthquake Jolts Japan
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #197 · 4 јан.
Подразумеваемые неймспейсы или неявные пакеты. Этот функционал добавлен в Python 3.3 Что он означает? Ранее, до 3.3 пакетами считались лишь директории, в которых есть файл __init__.py. Этот файл одновременно являлся свидетельством того, что директория это Python-пакет, и служил "телом" этого пакета. То есть местом, где можно написать код, как это делается внутри модуля. Этот код исполняется в момент импорта пакета, так что его принято называть "код инициализации пакета". Начиная с версии 3.3 Любая директория считается пакетом и Python будет пытаться использовать любую директорию для импорта. Конечно, не любую в файловой системе, а только те что находятся в sys.path. Это значит, что теперь __init__.py нужно делать только если: 🔸 вам требуется создать код инициализации пакета 🔸 нужна совместимость со старыми версиями Python На мой взгляд это немного упрощает разработку, делает её чище, но с другой стороны убивает некоторую однозначность происходящего. Например, я создал репозиторий со своей библиотекой и рядом положил код примеров или тестов. repo_name/ my_library/ __init__.py main.py examples/ exam1.py exam2.py В этом репозитории пакетом является только my_library, остальные директории это не пакеты, это просто дополнительный код в файлах. Директория examples не добавлена в sys.path, в ней нет рабочих модулей. Но если она лежит рядом с my_library, то Python вполне сможет импортнуть из неё модули, так как посчитает что examples это валидный пакет. Конечно, пример несколько надуманный. Никто не будет добавлять корень репозитория в sys.path. Но, я думаю, суть ясна. Иногда директория это просто директория а не пакет! #basic#pep
Пребарај: #earthquake
@developmentnewsindia · Post #43847 · 20.04.2026 г., 11:23
7.5 Ricter Scale #Earthquake Jolts Japan
Hashtags
@Marwa_OsmanLB · Post #3061 · 17.08.2024 г., 19:47
A powerful 7.4 magnitude earthquake has struck 107 km ESE of Petropavlovsk-Kamchatsky, Russia, near the Kamchatka region. Local authorities are closely monitoring the situation due to the risk of significant aftershocks and potential tsunamis. #Earthquake#Russia
Hashtags
@developmentnewsindia · Post #43258 · 05.04.2026 г., 17:01
India sends earthquake relief to Afghanistan, including hygiene kits, plastic sheets, tarpaulins, sleeping bags etc. The country was hit by 5.9 Rt scale #Earthquake yesterday #IndianSubcontinent
Hashtags
@interesting_planet_facts · Post #707 · 07.09.2025 г., 20:22
🌎 After a 2010 earthquake in Haiti, a pig named "Lucky" survived buried under rubble for 27 days. He lived by eating charcoal and licking moisture from debris until rescue workers pulled him out alive. ✨ #survival⚡#animals⚡#earthquake 👉subscribe Interesting Planet
Hashtags
@interesting_planet_facts · Post #1048 · 17.11.2025 г., 22:11
🌎 The 1755 Lisbon earthquake was one of the most destructive natural catastrophes in European history. The quake, followed by a tsunami and fires, destroyed much of Lisbon and killed up to 50,000 people. Its impact led to major advances in seismology and influenced Enlightenment thinking about disasters. ✨ #earthquake⚡#tsunami⚡#history 👉subscribe Interesting Planet 👉more Channels
Hashtags
@interesting_planet_facts · Post #900 · 12.10.2025 г., 22:11
🌎 An enormous tsunami struck the Indian Ocean on December 26, 2004 after a magnitude 9.1 earthquake off Sumatra. Waves up to 30 meters high inundated coasts in 14 countries, killing over 230,000 people and displacing millions, making it one of the deadliest natural disasters in recorded history. ✨ #tsunami⚡#earthquake⚡#history 👉subscribe Interesting Planet 👉more Channels
Hashtags
@interesting_planet_facts · Post #807 · 24.09.2025 г., 15:11
🌎 Trapped under debris for 17 days after a 2015 Nepal earthquake, Pemba Tamang survived by drinking muddy water dripping from rubble and eating small snacks. He emerged with only minor injuries after nearly 2½ weeks underground, making it one of the longest earthquake survival cases recorded. ✨ #survival⚡#earthquake⚡#resilience 👉subscribe Interesting Planet 👉more Channels
Hashtags
@amazingeo · Post #506 · 10.12.2025 г., 20:31
🌍 The 2018 Sulawesi earthquake in Indonesia triggered a rare "soil liquefaction," turning solid ground into a flowing sludge that swallowed entire neighborhoods beneath muddy waves. ✨ #disasters⚡#earthquake⚡#liquefaction⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels
@amazingeo · Post #433 · 04.11.2025 г., 12:31
🌍 Earthquakes under the ocean can create tsunamis—giant waves traveling at jet speed. A tsunami may cross an entire ocean before reaching land with just minutes’ warning. ✨ #tsunami⚡#earthquake⚡#hazards⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels
@amazingeo · Post #359 · 11.10.2025 г., 15:31
🌍 The 1811–1812 New Madrid earthquakes in the central United States were so powerful they briefly made the Mississippi River flow backward, reshaping the landscape far from any plate boundary. ✨ #disaster⚡#earthquake⚡#river⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels
@googlefactss · Post #40448 · 31.12.2025 г., 19:01
The 2011 Japan earthquake (8.9 magnitude) made Earth spin faster, shortening the day by 1.8 microseconds. It moved Japan’s main island 8 feet and shifted Earth’s axis by 6.5 inches. The 2010 Chile quake (8.8) and 2004 Sumatra quake (9.1) also shortened the day by small amounts. Earthquakes change Earth’s mass, making it spin quicker like a figure skater. 🌍⏱️ [Read more] @googlefactss#Earthquake#DayLength#EarthRotation
@interesting_planet_facts · Post #1138 · 17.12.2025 г., 18:11
🌎 The Tōhoku earthquake and tsunami struck Japan on March 11, 2011, with a magnitude 9.0 quake and waves up to 40 meters. This disaster caused over 15,000 deaths, triggered the Fukushima nuclear accident, and shifted the Japanese coast by up to 2.4 meters. ✨ #earthquake⚡#tsunami⚡#fukushima 👉subscribe Interesting Planet 👉more Channels
Hashtags