@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 #183 · 23 ное.
Python + bash Если вам часто требуется запускать shell команды из Python-кода, какой способ вы используете? Самый низкоуровневый это функция os.system(), либо os.popen(). Рекомендованный способ это subprocess.call(). Но это всё еще достаточно неудобно. Советую обратить своё внимание на очень крутую библиотеку sh. Что она умеет? 🔸 удобный синтаксис вызова команд как функций # os import os os.system("tar cvf demo.tar ~/") # subprocess import subprocess subprocess.call(['tar', 'cvf', 'demo.tar', '~/']) # sh import sh sh.tar('cvf', 'demo.tar', "~/") 🔸 простое создание функции-алиаса для длинной команды fn = sh.lsof.bake('-i', '-P', '-n') output = sh.grep(fn(), 'LISTEN') в этом примере также задействован пайпинг 🔸 удобный вызов команд от sudo with sh.contrib.sudo: print(ls("/root")) Такой запрос спросит пароль. Чтобы это работало нужно соответствующим способом настроить юзера. А вот вариант с вводом пароля через код. password = "secret" sudo = sh.sudo.bake("-S", _in=password+"\n") print(sudo.ls("/root")) Это не все фишки. Больше интересных примеров смотрите в документации. Специально для Windows💀 юзеров #libs#linux
Пребарај: #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