TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #345 · 9 окт.

Функция dir() - удобна для получения списка атрибутов у любого объекта. Ранее я писал про функцию __dir__() в модуле (не путайте её с переменной __all__(), которая указывает список объектов для импорта если встречается конструкция from module import *). Скорее всего вы уже знаете как использовать функцию dir(). Любой объект может реализовать метод __dir__() чтобы указать список имеющийхся и динамических атрибутов. И функция dir() поможет получить список этих атрибутов. >>> dir(str) ['__add__', '__class__', '__contains__', ...] У этой функции есть еще один способ применения. Её можно вызвать без аргумента, и в таком случае она вернёт список имён в текущем неймспейсе. >>> dir() ['__builtins__', '__doc__', '__file__', ...] >>> def test(): >>> x = 1 >>> print(dir()) >>> test() ['x'] #basic#tricks

Резултати

Пронајдени 2 слични објави

Пребарај: #ukeconomy

当前筛选 #ukeconomy清除筛选
Crypto M - Crypto News

@CryptoM · Post #65425 · 13.04.2026 г., 07:11

🚀 Market Expects Two Rate Hikes by Bank of England in 2026 The overnight index swap (OIS) curve indicates that the market anticipates an approximately 84% probability of the Bank of England raising interest rates twice in 2026. According to Jin10, this expectation has increased from 60% last Friday. #BankofEngland#InterestRates#MonetaryPolicy#OIS#RateHikes#UKEconomy#FinancialMarkets #2026

Crypto M - Crypto News

@CryptoM · Post #65078 · 10.04.2026 г., 20:10

🚀 S&P: UK Economy Expected to Withstand Price Shocks from Middle East Conflict S&P Global Ratings has indicated that the stable outlook for the UK economy reflects market expectations that it will be able to withstand the impact of rising prices for oil, natural gas, and other inputs related to the Middle East conflict. According to Jin10, this assessment suggests confidence in the UK's economic resilience amid geopolitical tensions affecting commodity prices. The report highlights the importance of monitoring these developments as they could influence economic stability and growth prospects. #UKEconomy#MiddleEastConflict#OilPrices#NaturalGas#EconomicResilience#Geopolitics#EconomicStability#MarketOutlook#S&PGlobalRatings #CommodityPrices