@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 #208 · 29 јан.
Ранее мы уже говорили о том, как выполнить какой-либо код перед открытием интерактивной консоли. Расскажу еще один способ! На самом деле, даже запустив интерпретатор в обычном режиме с выполнением скрипта из файла вы можете в любом месте активировать интерактивный режим. Или даже несколько по очереди. За это отвечает модуль code. Как это может пригодиться? 🔸 Вам не хватает pdb и хочется больше "власти" 🔸 Нужно запросить у юзера данные в достаточно сложном виде. В этом случае можно попросить его создать что ему надо и сохранить в определённую переменную, с которой потом и работать. 🔸 Нужна изолированная среда для выполнения каких-либо действий. 🔸 Просто забавы ради😁 Запускается консоль очень просто import code ic = code.InteractiveConsole() try: ic.interact() except SystemExit: pass Выход обратно на предыдущий уровень происходит как обычно, вызов функции exit() или клавиши Ctrl+D(Ctrl+Z для Windows). Я набросал простой пример с некоторым функционалом 🔹 Меняются символы приглашения 🔹 В неймспейсы добавляются дополнительные объекты 🔹 Считается время, проведённое в интерактивном режиме 🔹 Скрипт просит юзера заполнить переменную и по выходу распечатывает её значение Код здесь ↗️ Для запуска сохраните код в файл и запускайте как обычный скрипт. python my_console.py Для быстрого запуска можно сделать отдельный алиас alias py="python3 /home/username/my_console.py" #tricks#source
Пребарај: #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