@Architecture_World · Post #6862 · 16.10.2021 г., 07:30
#plants
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #60 · 31 мар.
Вторая по частоте future-функция, которую я использовал, это абсолютный импорт from __future__ import absolute_import Что она делает? Изменения, которые вносит эта инъекция описаны в PEP328 Покажу простой пример. Допустим, есть такой пакет: /my_package /__init__.py /main.py /string.py Смотрим код в my_package/main.py # main.py import string Простой пример готов) Вопрос в том, какой модуль импортируется в данном случае? Есть два варианта: 1. модуль в моём пакете my_package.string 2. стандартный модуль string И вот тут вступает в дело приоритет импортов. В Python2 порядок следующий: помимо иных источников, раньше ищется модуль внутри текущего пакета, а потом в стандартных библиотеках. Таким образом мы импортнём my_package.string. Но в Python3 это поведение изменилось. Если мы указываем просто имя пакета, то ищется именно такой модуль, игнорируя имена в текущем пакете. Если мы хотим импортнуть именно подмодуль из нашего пакета то, мы должны теперь явно это указывать. from my_package import string или относительный импорт, но с указанием пути относительно текущего модуля main from . import string Еще одной неоднозначностью меньше 😎 Подробней про импорты здесь: https://docs.python.org/3/tutorial/modules.html #2to3#pep#basic
Пребарај: #plants
@Architecture_World · Post #6862 · 16.10.2021 г., 07:30
#plants
Hashtags
@dumbledorerambling · Post #3468 · 18.07.2023 г., 19:33
三种绿色~~~🌱 #plants
Hashtags
@wildthemestelegram · Post #1366 · 31.03.2024 г., 05:00
Plants art #black #yellow #green #plants #dark #art ᅠ𝐖𝐢𝐥𝐝 𝐓𝐞𝐥𝐞𝐠𝐫𝐚𝐦 𝐓𝐡𝐞𝐦𝐞𝐬 ᅠ═──═⌘═──═ᅠ
@amazingeo · Post #549 · 01.01.2026 г., 12:31
🌍 The Polynesia-Micronesia region is a biodiversity hotspot that covers thousands of remote islands, harboring more than 2,000 unique plant species found nowhere else in the world. ✨ #biodiversity⚡#islands⚡#plants⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels
@interesting_planet_facts · Post #371 · 21.07.2025 г., 00:22
🌎 The Amazon rainforest is home to the walking palm tree, which appears to “walk” as it slowly grows new roots to move toward sunlight, gradually shifting its position over years. ✨ #rainforest⚡#plants⚡#adaptation 👉subscribe Interesting Planet
Hashtags
@domik_u_polya · Post #186 · 26.06.2025 г., 07:02
Красный куриный клещ вернулся. Борьба не на равных. жалко птицу, мы справимся #юг#plants#chicken@Evgeniia_Zhvavaya
@interesting_planet_facts · Post #370 · 20.07.2025 г., 22:22
🌎 In South America, the giant water lily grows leaves up to 3 meters wide—strong enough to support a small child’s weight! Its waxy surface and ribbed underside help it float, creating floating “rafts” that shelter fish and frogs in warm, shallow waters. ✨ #plants⚡#nature⚡#adaptation 👉subscribe Interesting Planet
Hashtags
@amazingeo · Post #480 · 27.11.2025 г., 20:31
🌍 Some biodiversity hotspots, like the Cape Floristic Region in South Africa, pack over 9,000 plant species into just a tiny area—nearly 70% found nowhere else on Earth. ✨ #biodiversity⚡#plants⚡#hotspots⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels
@interesting_planet_facts · Post #1272 · 04.02.2026 г., 12:11
🌎 The corpse flower (Amorphophallus titanum) from Indonesia produces one of the world’s largest and smelliest blooms, reaching over 3 meters tall. The flower emits a strong odor similar to rotting meat, which attracts carrion beetles and flies for pollination. ✨ #plants⚡#botany⚡#biodiversity 👉subscribe Interesting Planet 👉more Channels
Hashtags
@interesting_planet_facts · Post #1179 · 31.12.2025 г., 18:11
🌎 The world’s smallest flowering plant, Wolffia globosa, floats on freshwater ponds and is less than 1 millimeter long. A single gram can contain over 150,000 individual plants. ✨ #plants⚡#biodiversity⚡#botany 👉subscribe Interesting Planet 👉more Channels
Hashtags
@interesting_planet_facts · Post #912 · 15.10.2025 г., 15:11
🌎 Hidden deep in Western Australia, the rare Kingia australis plant produces tall, grass-like stems crowned with spiky flower heads. Its slow-growing trunk can take up to 150 years to reach just 5 meters, making it one of the region’s botanical oddities. ✨ #plants⚡#botany⚡#biodiversity 👉subscribe Interesting Planet 👉more Channels
Hashtags
@interesting_planet_facts · Post #782 · 19.09.2025 г., 18:22
🌎 The Hydnora africana is a rare, parasitic plant native to southern Africa. It grows underground, emerging only to bloom with a fleshy, foul-smelling flower that attracts beetles for pollination. Its flowers can take up to a year to develop under the soil. ✨ #plants⚡#biodiversity⚡#botany 👉subscribe Interesting Planet
Hashtags