@WorldNews · Post #73769 · 01.04.2026 г., 11:05
Russia's largest oil company's net income drops by 73% in 2025 [Read FullArticle] @WorldNews#OilIndustry#RussiaNews#EarningsDrop
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #205 · 22 јан.
Как работает функция reload()? Эта функция нужна для того, чтобы перезагрузить изменившийся код из py-файла без рестарта интерпретатора. Дело в том, что любой импортированный модуль при повторном импорте не будет перечитывать файл. Функция импорта вернёт уже загруженный в память объект модуля. Чтобы обновить код, нужно либо перезапустить всю программу, либо использовать функцию reload() from importlib import reload reload(my_module) 🔸 Функция reload() принимает в качестве аргумента только объект модуля или пакета. Она не может перезагрузить класс или функцию. Только весь файл целиком! 🔸 Перезагрузка пакета перезагрузит только его файл __init__.py, если он есть. Но не вложенные модули. 🔸Она не может перезагрузить ранее не импортированный модуль. 🔸При вызове функция reload() перечитывает и перекомпилирует код в файле, создавая новые объекты. После создания новых объектов перезаписывается ранее созданный неймспейс этого модуля. Это значит, что если где-то этот модуль импортирован через import и обращение к атрибутам происходит через неймспейс (имя) модуля, то такие атрибуты обновятся. Если какие-либо объекты из этого модуля импортированы через from то они будут ссылаться на старые объекты. Напишем простой модуль # mymodule.py x = 1 Теперь импортируем модуль и отдельно переменную х из модуля >>> import mymodule >>> from mymodule import x >>> print(mymodule.x) 1 >>> print(x) 1 Не перезапуская интерпретатор вносим изменения в модуль # mymodule.py x = 2 Делаем перезагрузку модуля и проверяем х ещё раз >>> reload(mymodule) >>> print(mymodule.x) 2 >>> print(x) 1 То же самое будет если присвоить любой объект переменной (даже словарь или список) Повторный импорт обновляет значение >>> from mymodule import x >>> print(x) 2 🔸Созданные инстансы классов не обновятся после перезагрузки модуля. Их придётся пересоздать. #tricks#basic
Пребарај: #oilindustry
@WorldNews · Post #73769 · 01.04.2026 г., 11:05
Russia's largest oil company's net income drops by 73% in 2025 [Read FullArticle] @WorldNews#OilIndustry#RussiaNews#EarningsDrop
@venanalysis · Post #2035 · 21.07.2025 г., 19:36
📰 NEWS | Venezuela: Oil Industry Navigates Sanctions, Places 90 Percent of Exports to China The Venezuelan oil industry has managed to maintain production and export levels in the wake of renewed US sanctions. State oil company PDVSA is now selling 90% of its crude to China. However, the Maduro government continues to court foreign investment to boost the energy sector recovery. Follow the link for the full report: https://venezuelanalysis.com/news/venezuela-oil-industry-navigates-sanctions-places-90-percent-of-exports-to-china/ #Venezuela#OilIndustry#China#PDVSA
@venanalysis · Post #2238 · 10.01.2026 г., 23:18
📰 NEWS | Trump Administration Hosts Oil Executives, Insists on Sweeping Venezuelan Oil Concessions The Trump administration hosted global oil executives and reiterated its claims to exercise control over present and future Venezuelan oil sales. Washington has maintained its pressure to impose conditions on the acting government in Caracas, with naval forces seizing a fifth oil tanker on Friday. Follow the link to read our report: https://venezuelanalysis.com/news/trump-administration-hosts-oil-executives-insists-on-sweeping-venezuelan-oil-concessions/ #OilIndustry#TrumpAdministration#Chevron#Venezuela
@venanalysis · Post #1897 · 04.03.2025 г., 19:50
🚨NEWS | Venezuela: US Shrinks Chevron Wind-Down Period to 30 Days Following ‘Crazy Cubans’ Pressure The Trump administration ordered the oil giant to cease its activities in Venezuela by April 3. The ramped-up economic sanctions will immediately affect the country’s oil output and potentially trigger renewed inflation. 🔗 Read the full report here: https://venezuelanalysis.com/news/venezuela-us-shrinks-chevron-wind-down-period-to-30-days-following-crazy-cubans-pressure/ #Sanctions#Chevron#OilIndustry#Trump
@venanalysis · Post #2244 · 14.01.2026 г., 21:47
📰 NEWS | Chinese Supertankers Turn Back as US Moves Ahead to Extort Venezuelan Crude With Washington stepping up its naval blockade, two Chinese-flagged supertankers turned back when headed to load Venezuelan crude. Commodities traders Vitol and Trafigura have begun to move Venezuelan oil. Trump officials insist that the sales proceeds will be deposited in US accounts. Read our report: https://venezuelanalysis.com/news/chinese-supertankers-turn-back-as-us-moves-ahead-to-extort-venezuelan-crude/ #OilIndustry#Sanctions#China#TrumpAdministration
@venanalysis · Post #2237 · 10.01.2026 г., 17:33
📹 VIDEO | Trump’s Oil Heist in Venezuela Historian Steve Ellner and Venezuelanalysis' Ricardo Vaz joined Sharmini Peries on theAnalysis.News to gather a historical perspective on the Venezuelan oil industry and how US imperialist interests have played a role. Watch the video: https://venezuelanalysis.com/video/trumps-oil-heist-in-venezuela/ #Venezuela#OilIndustry#History#Trump
@venanalysis · Post #2245 · 16.01.2026 г., 03:27
📹 VIDEO | Trump–Rodríguez Oil Talks Test Venezuela’s Sovereignty Venezuelanalysis founder and contributing editor Gregory Wilpert joined Sharmini Peries on theAnalysis.News to discuss US claims over the Venezuelan oil industry and the broader context of the struggle for sovereignty. Follow the link to watch: https://venezuelanalysis.com/video/trump-rodriguez-oil-talks-test-venezuelas-sovereignty/ #OilIndustry#Venezuela#NationalSovereignty#History
@venanalysis · Post #1602 · 14.06.2024 г., 23:47
Over the past century, oil has played an outsized role in Venezuela. It is no wonder that the United States, in its neverending regime-change plots, chose to target this crucial sector with crushing sanctions. Our latest video examines the crude reality of coercive measures against the Venezuelan oil industry. #Venezuela#Sanctions#USPolicy#VenezuelanOil#OilIndustry https://youtu.be/lwcB4Z9jwGA