@TFGames · Post #2041 · 01.02.2024 г., 01:51
#TDF#SR https://testflight.apple.com/join/AiaYisrO
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
Пребарај: #tdf
@TFGames · Post #2041 · 01.02.2024 г., 01:51
#TDF#SR https://testflight.apple.com/join/AiaYisrO
@TFGames · Post #1696 · 28.12.2023 г., 04:40
#TDF#SR#GAMES https://testflight.apple.com/join/AiaYisrO
@TFGames · Post #1620 · 23.12.2023 г., 20:40
#TDF#SR#GAMES https://testflight.apple.com/join/AiaYisrO
@militantwire · Post #1869 · 14.05.2022 г., 19:05
🇺🇦🏴Anarchist militia fighting for the Territorial Defense Forces (#TDF), Black Flag #Ukraine, posted a picture of their fighters and the van that they’ve purchased with money donated from foreign comrades and sympathizers for use in their defense against #Russia|n invasion: https://twitter.com/potempkinbrain/status/1525552737978486785?s=21&t=hZN_K_M8lGqjeymUduF7ZQ
@addisstandardeng · Post #21277 · 02.02.2026 г., 11:01
#Op_ed: One Year On: Impact of senior commanders’ statement on #Tigray’s post-war transition Reflecting on the one-year anniversary of the January 2025 statement by senior Tigray forces leaders (#TDF commanders), Gebremeskel Hailu examines the “political, institutional, and humanitarian consequences of militarized interventions.” While the commanders raised legitimate grievances over stalled peace and humanitarian crises, he argues their intervention “entrenched political polarization and widened the political and military divide.” By endorsing a #TPLF faction and forcibly removing local officials, the military abandoned neutrality, exposing a “widening gap between rhetoric and practice.” The episode also revealed “deep inconsistencies” in disarmament decisions, “influenced more by political alignment than by principled security concerns.” Gebremeskel concludes that “durable recovery depends on civilian-led, inclusive, and legally grounded governance processes.” https://addisstandard.com/?p=54882
@borkena · Post #5962 · 09.03.2026 г., 06:35
"የጸረ-ድሮን ቴክኖሎጂ ታጥቀናል" ጄነራል ምግበይ በህወሓት የሚመራው እና ራሱን የትግራይ ሰራዊት ወይም TDF ብሎ የሚጠራው ኃይል "የጸረ-ድሮን ቴክኖሎጂ ታጥቋል” - ሲሉ ብ/ጄነራል ምግበይ ተናገሩ። የሰራዊቱ የምዕራብ ግንባር አዛዥ እንደሆኑ የሚናገሩት ብሪጋዴር ጄነራል ምግበይ ኃይለ፣ የትግራይ ሰራዊት የጸረ-ድሮን ቴክኖሎጂን ጨምሮ ስትራቴጂካዊ መሳሪያዎችን መታጠቁን ይፋ ተናግረዋል። ጄነራሉ ከድምጺ ወያነ ቴሌሊ ጋር ባደረጉት ቃለ-ምልልስ፣ ሰራዊቱ በቴክኖሎጂ የዳበረና ለማንኛውም ጥቃት የተዘጋጀ መሆኑን ገልጸዋል። በዚሁ ቃለምልልሳቸው ላይ “ለድሮን ጸረ-ድሮን፣ ለታንክ ጸረ-ታንክ መታጠቃችን ሊታወቅ ይገባል” ያሉት ጄነራል ምግበይ "ሰራዊቱ የህዝብ እንጂ የግለሰብ ፍላጎት ማስፈጸሚያ እንዳልሆነም ይታወቅልን" ሲሉ ተናግረዋል። #Ethiopia#Tigray#TDF#Ethiopiannews#news#ህወሃት#ጄነራልምግበይ#መቀሌ