@WorldNews · Post #73532 · 22.03.2026 г., 23:59
Global fuel crisis: Australians urged to work from home by Energy Minister Chris Bowen [Read FullArticle] @WorldNews#FuelCrisis#WorkFromHome#AustraliaNews
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
Пребарај: #fuelcrisis
@WorldNews · Post #73532 · 22.03.2026 г., 23:59
Global fuel crisis: Australians urged to work from home by Energy Minister Chris Bowen [Read FullArticle] @WorldNews#FuelCrisis#WorkFromHome#AustraliaNews
@intnewsagency · Post #8923 · 26.03.2026 г., 05:17
Asia Reimposes Covid-Like Measures Amid Fuel Crisis Amid Middle East tensions, Asian countries are reintroducing Covid-era restrictions to save fuel and electricity. The Philippines cuts government workweeks, Pakistan shifts some staff to remote work and closes schools for two weeks, while Sri Lanka declares Wednesday a holiday. Singapore and Thailand urge energy-saving by raising AC temperatures and reducing transport use. #Asia#Energy#FuelCrisis#Conservation The main news of Russia and the world ishere.
@intnewsagency · Post #9402 · 28.04.2026 г., 10:40
Nigerian Aviation Faces Fuel Crisis Amid Oil Boom In Nigeria, jet fuel prices have surged by 270%, compared to just 70% across Africa, says Air Peace CEO Allen Onyeama. Airlines are cutting routes and fleets, struggling to survive. Paradoxically, the Dangote refinery, with record profits, exports kerosene to Europe while national aviation suffers severe fuel shortages. “Businesses are literally printing money while planes wait to refuel.” #Nigeria#aviation#fuelcrisis#oil#Africa The main news of Russia and the world ishere.
@ebcnewsnow · Post #52296 · 11.03.2026 г., 16:13
የሆርሙዝ መዘጋት እና የነዳጅ ዋጋ መናር በዓለም ኢኮኖሚ ላይ የደቀነው ስጋት ****************** በአሜሪካ እና በእስራኤል ጥምረት በኢራን ላይ የተሰነዘረውን ጥቃት ተከትሎ በመካከለኛው ምሥራቅ በተከሰተው ጦርነት የሆርሙዝ የባሕር ወሽመጥ በመዘጋቱ፣ ዓለም አቀፉ የነዳጅ ገበያና ኢኮኖሚ ከፍተኛ ቀውስ ውስጥ ወድቋል። ይህንኑ ተከትሎ ከ85 በላይ ሀገራት የነዳጅ ዋጋ ጭማሪ አድርገዋል። በአሜሪካ የ20 በመቶ ጭማሪ ሲታይ፣ በእስያ ሀገራት (እንደ ቬየትናም እና ላኦስ) ከ33 እስከ 50 በመቶ የሚደርስ አስከፊ የዋጋ ንረት ተመዝግቧል። ጃፓን እና ፈረንሳይ የስትራቴጂክ የነዳጅ ክምችታቸውን ለመልቀቅ ተገድደዋል። ደቡብ ኮሪያ ከ30 ዓመታት በኋላ ለመጀመሪያ ጊዜ የነዳጅ ዋጋ የጣሪያ ገደብ አውጥታለች። የቡድን ሰባት ሀገራት የፋይናንስ ሚኒስትሮች የአቅርቦት እጥረቱን ለመታደግ አስቸኳይ ስብሰባ ተቀምጠዋል። እንደ ፓኪስታን እና ባንግላዴሽ ያሉ ሀገራት ፍጆታን ለመቀነስ ትምህርት ቤቶችን እስከመዝጋት ደርሰዋል። ቀውሱ ከነዳጅ አልፎ በምግብ ዋስትና፣ በማዳበሪያ አቅርቦት እና በኢንዱስትሪ ምርቶች (ፕላስቲክ እና ጨርቃጨርቅ) ላይ ከፍተኛ የዋጋ ጫና ፈጥሯል። የኢኮኖሚ ባለሙያዎች ሁኔታው ወደ ‘ስታግፍሌሽን’ (የዋጋ ንረትና የኢኮኖሚ መቀዝቀዝ ጥምረት) ሊያመራ እንደሚችል እና ዓለም አቀፍ የኑሮ ቀውስ ሊያስከትል እንደሚችል እያሰገነዘቡ ነው። በለሚ ታደሰ ሙሉ መረጃውን ለማንበብ እዚህ ይጫኑ #FuelCrisis#GlobalEconomy#EnergySecurity#IranWarImpact#OilPrices2026#G7Summit
@addisstandardeng · Post #21936 · 03.04.2026 г., 16:30
#Premiering_now: The Standard Signal | Ep.15: Ethiopia Under Pressure: Fuel Crisis, Global & Regional Instability, a Fragile Election | Jawar Mohammed Click here to watch: https://www.youtube.com/watch?v=HexAbPk8Dkw Ethiopia is facing mounting pressures. In Episode 15 of The Standard Signal, host Tsedale Lamma brings Jawar Mohammed to discuss the deepening fuel shortage and corruption concerns in Ethiopia, the looming fertilizer crisis and its implications for food security, and the impact of Middle East war on Ethiopia’s economy and stability. #AddisStandard#TheStandardSignal#Ethiopia#JawarMohammed#EthiopiaPolitics#Corruption#FuelCrisis#HornOfAfrica#Tigray#Amhara#Oromia#EthiopiaElection#AfricaPolitics#EthiopiaNews#AfricanPolitics#Geopolitics
@addisstandardeng · Post #21935 · 03.04.2026 г., 14:30
#Coming_UP: The Standard Signal | Ep.15: Ethiopia Under Pressure: Fuel Crisis, Global & Regional Instability, a Fragile Election | Jawar Mohammed #TsedaleLemma speaks with #JawarMohammed about the growing challenges facing Ethiopia, from global and regional tensions to domestic instability, corruption and Ethiopia’s fragile election. Premiers at: 7:30 PM EAT tonight. Subscribe to watch: https://www.youtube.com/@AddisStandard #AddisStandard#TheStandardSignal#Ethiopia#JawarMohammed#EthiopiaPolitics#Corruption#FuelCrisis#HornOfAfrica#Tigray#Amhara#Oromia#EthiopiaElection#AfricaPolitics#EthiopiaNews#AfricanPolitics#Geopolitics