@WorldNews · Post #73854 · 04.04.2026 г., 06:54
Trump said Iran was 'decimated.' Then an American F-15E fighter jet was shot down. [Read FullArticle] @WorldNews#IranNews#USIranConflict#WorldNews
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #197 · 4 јан.
Подразумеваемые неймспейсы или неявные пакеты. Этот функционал добавлен в Python 3.3 Что он означает? Ранее, до 3.3 пакетами считались лишь директории, в которых есть файл __init__.py. Этот файл одновременно являлся свидетельством того, что директория это Python-пакет, и служил "телом" этого пакета. То есть местом, где можно написать код, как это делается внутри модуля. Этот код исполняется в момент импорта пакета, так что его принято называть "код инициализации пакета". Начиная с версии 3.3 Любая директория считается пакетом и Python будет пытаться использовать любую директорию для импорта. Конечно, не любую в файловой системе, а только те что находятся в sys.path. Это значит, что теперь __init__.py нужно делать только если: 🔸 вам требуется создать код инициализации пакета 🔸 нужна совместимость со старыми версиями Python На мой взгляд это немного упрощает разработку, делает её чище, но с другой стороны убивает некоторую однозначность происходящего. Например, я создал репозиторий со своей библиотекой и рядом положил код примеров или тестов. repo_name/ my_library/ __init__.py main.py examples/ exam1.py exam2.py В этом репозитории пакетом является только my_library, остальные директории это не пакеты, это просто дополнительный код в файлах. Директория examples не добавлена в sys.path, в ней нет рабочих модулей. Но если она лежит рядом с my_library, то Python вполне сможет импортнуть из неё модули, так как посчитает что examples это валидный пакет. Конечно, пример несколько надуманный. Никто не будет добавлять корень репозитория в sys.path. Но, я думаю, суть ясна. Иногда директория это просто директория а не пакет! #basic#pep
Пребарај: #usiranconflict
@WorldNews · Post #73854 · 04.04.2026 г., 06:54
Trump said Iran was 'decimated.' Then an American F-15E fighter jet was shot down. [Read FullArticle] @WorldNews#IranNews#USIranConflict#WorldNews
@WorldNews · Post #73693 · 29.03.2026 г., 11:44
Iran ready to face US ground invasion, top lawmaker says | Caliber.Az [Read FullArticle] @WorldNews#IranNews#USIranConflict#WorldNews
@WorldNews · Post #73824 · 03.04.2026 г., 11:19
Trump threatens to destroy Iran bridges and power plants as reports emerge of downed U.S. F-35 [Read FullArticle] @WorldNews#IranNews#TrumpPolicy#USIranConflict
@WorldNews · Post #73593 · 25.03.2026 г., 12:14
Iran rejects Trump's 15-point peace plan: "You negotiate with yourself" — as airstrikes on Tehran and US bases in the Gulf escalate [Read FullArticle] @WorldNews#IranNews#USIranConflict#GulfSecurity
@WorldNews · Post #73738 · 31.03.2026 г., 01:29
Iran's strike wounded over a dozen U.S. personnel and hit valuable jets in Saudi Arabia [Read FullArticle] @WorldNews#IranNews#USIranConflict#SaudiArabiaSecurity
@WorldNews · Post #73538 · 23.03.2026 г., 04:19
5m tonnes of CO2 emitted in just 14 days of US war on Iran, analysis finds [Read FullArticle] @WorldNews#ClimateChange#USIRanConflict#CO2Emissions
@WorldNews · Post #73747 · 31.03.2026 г., 11:34
Poland says ‘no’ to sending Patriot missile launcher to help US fight Iran [Read FullArticle] @WorldNews#PolandNews#PatriotMissile#USIranConflict
@WorldNews · Post #74466 · 30.04.2026 г., 13:19
US set for first-ever use of Hypersonic Weapons in combat against Iran [Read FullArticle] @WorldNews#HypersonicWeapons#USIranConflict#MilitaryTechnology
@CryptoM · Post #65325 · 12.04.2026 г., 23:14
🚀 Expert: Bitcoin's Stability Amid U.S.-Iran Conflict Highlights Its Potential Anthony Pompliano highlighted Bitcoin's role as a beacon of hope during the U.S.-Iran conflict. According to NS3.AI, Pompliano noted that while stocks, bonds, and gold experienced sell-offs, Bitcoin remained stable or even rose slightly. He emphasized that Bitcoin's lower volatility and neutrality could bolster investor demand during times of geopolitical uncertainty. #Bitcoin#Cryptocurrency#Geopolitics#USIranConflict#FinancialStability#InvestorDemand#MarketVolatility#DigitalAssets#BTC
@CryptoM · Post #64559 · 09.04.2026 г., 08:01
🚀 CPI Faces Critical Test Amid Inflation Concerns The upcoming Consumer Price Index (CPI) report is set to be a decisive factor in assessing inflation trends, as consensus builds around a significant rebound in inflation. According to Jin10, the breadth of the energy shock will play a crucial role in determining the intensity of market impacts. The ongoing conflict between the U.S. and Iran has influenced the CPI statistics for March, with energy premiums potentially limiting the Federal Reserve's ability to cut interest rates. There is a risk that inflation expectations may become unanchored, raising questions about whether price pressures are a one-time shock or have spread to other sectors. #CPI#Inflation#EnergyShock#FederalReserve#InterestRates#USIranConflict#MarketImpact#PricePressure
@CryptoM · Post #65326 · 12.04.2026 г., 23:14
🚀 Expert Predicts U.S.-Iran Conflict Impact on Crypto Markets Until 2026 Nic Puckrin has expressed concerns that the ongoing U.S.-Iran conflict could negatively affect cryptocurrency markets until 2026. According to NS3.AI, Puckrin believes that Bitcoin's recovery to $90,000 would require several favorable conditions. He also noted that a Federal Reserve rate cut is unlikely to occur before late Q3 or Q4, and it may not happen at all this year. #USIranConflict#CryptoMarkets#Bitcoin#Cryptocurrency#FederalReserve#MarketPrediction#2026Impact#BitcoinRecovery#BTC
@CryptoM · Post #64459 · 09.04.2026 г., 01:08
🚀 Korean Won Expected to Rebound Amid Lower Oil Prices and Stock Inflows The Korean won is anticipated to recover to levels observed prior to the US-Iran conflict in the second quarter, according to strategists. Bloomberg posted on X, highlighting factors such as declining oil prices and increased foreign investments in stocks as key drivers for this potential rebound. Analysts suggest that these economic conditions could bolster the won's value, reversing the currency's previous downturn. #KoreanWon#OilPrices#StockInflows#USIranConflict#CurrencyRebound#ForeignInvestments#EconomicConditions