@developmentnewsindia · Post #44353 · 03.05.2026 г., 06:51
Marshall Islands-flagged LPG tanker Sarv Shakti, carrying 46,000 tonnes of LPG for India, has crossed the Strait of Hormuz and is en route to India #Energy
Hashtags
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
Пребарај: #energy
@developmentnewsindia · Post #44353 · 03.05.2026 г., 06:51
Marshall Islands-flagged LPG tanker Sarv Shakti, carrying 46,000 tonnes of LPG for India, has crossed the Strait of Hormuz and is en route to India #Energy
Hashtags
@developmentnewsindia · Post #44334 · 02.05.2026 г., 12:10
Megha Engineering & Infrastructures Limited (MEIL) is executing the LuPech(J-18) upgrade at IOCL's Gujarat Refinery in Vadodara, expanding its capacity from 13.7 to 18 MMTPA to address rising energy demands. The project integrates an Indmax RFCC for maximizing propylene production, a Propylene Recovery Unit (PRU) for polymer-grade refining, and a Poly Propylene Unit (PPU) to enhance petrochemical production and regional energy security. #Energy
Hashtags
@developmentnewsindia · Post #44174 · 29.04.2026 г., 04:26
India crude imports average 4.4 mbpd in Apr 1–26 (−15% vs 5.2 mbpd Feb). Saudi supplies at 697 kbpd and UAE at 619 kbpd via Yanbu (7 mbpd pipeline) and Fujairah (1.7 mbpd). Oman flows rise to 101 kbpd vs 18 kbpd FY26 avg, offsetting Gulf outages. #Energy
Hashtags
@developmentnewsindia · Post #44114 · 27.04.2026 г., 06:34
India peak power demand hits record 256 GW, up from 252 GW a day earlier; prior high 250 GW (May 2024). Govt projects 271 GW peak in 2026; solar output at 657 MU. Coal units ~10 GW asked to defer maintenance amid gas shortfall of 8–10 GW. #Energy
Hashtags
@developmentnewsindia · Post #44100 · 27.04.2026 г., 03:45
India to invite bids in 3–6 months for 220 MWe BSMR-200 SMR. ₹30 crore/MW cost; ₹5,960 crore project; 60–72 months build. ₹20,000 crore Nuclear Energy Mission targets ≥5 SMRs by 2033; 100 GW nuclear capacity by 2047. Foreign bidders allowed with local partner. #energy
Hashtags
@developmentnewsindia · Post #43804 · 19.04.2026 г., 10:16
Indian-flagged crude tanker DESH GARIMA, outbound from the Persian Gulf today, is now the 11th merchant vessel observed under Indian Naval escort in the Gulf of Oman #energy
Hashtags
@developmentnewsindia · Post #43672 · 16.04.2026 г., 11:27
IEA chief says that Europe has 'maybe six weeks' of jet fuel left, says current shock is 'the largest energy crisis we have ever faced' #Energy
Hashtags
@developmentnewsindia · Post #43571 · 14.04.2026 г., 05:32
State-run HPCL wants to move 20,000 tonnes of Gas from Ust-Luga, Russia for LPG Production Source #Energy
Hashtags
@developmentnewsindia · Post #43540 · 13.04.2026 г., 04:03
2⃣ Iranian Supertankers laden with Crude have reached Indian Ports #Energy
Hashtags
@developmentnewsindia · Post #43479 · 11.04.2026 г., 19:46
Thorium Reserves by Country: IAEA #Energy
Hashtags
@developmentnewsindia · Post #43469 · 11.04.2026 г., 15:51
The India-flagged LPG vessel “Jag Vikram” has safely crossed the Strait of Hormuz, carrying ~20,400 MT of LPG cargo with 24 seafarers onboard. #Energy
Hashtags
@developmentnewsindia · Post #43418 · 09.04.2026 г., 17:53
India to launch PM-KUSUM 2 to expand solar irrigation; PM Suryaghar targets 10 mn households with ~2.7 mn installs done. Rooftop additions at 11,000–12,000/day rising to 15,000–16,000; FY26 added 55.3 GW non-fossil capacity incl. 16.4 GW distributed RE; ~40 GW PPAs pending. #Energy
Hashtags