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

Резултати

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

Пребарај: #dinocoins

当前筛选 #dinocoins清除筛选
Venture Village Wall 🦄

@venturevillagewall · Post #3761 · 31.12.2024 г., 16:00

Bitcoin Surpasses $100K: Retail Investors Return 💰 Bitcoin recently soared above $100,000, briefly reaching $104K, before settling below $91K. This surge is linked to key pro-crypto appointments in the Trump administration, including Scott Bessent for Treasury and Paul Atkins as SEC chair. 🚀 Retail interest is on the rise, with older cryptos, termed 'dino coins', gaining attention. XRP reclaimed its place as the fourth largest cryptocurrency as investors return to the market. Millennial parents are now considering Bitcoin as a safer option, encouraged by large firms like Blackrock. 📈 Ethereum is benefitting too, with ETF inflows exceeding Bitcoin on multiple occasions and blue-chip NFTs based on ETH seeing increased floor prices. 🔍 As the crypto market evolves, understanding the current market cycle can aid investment strategies. 📅 Major firms dominate crypto ETF races, with BlackRock leading in both Bitcoin and Ethereum spaces. For more details, check the full article here: Leviathan News. #Bitcoin#Crypto#VC#XRP#Ethereum#NFT#Blackrock#ETF#Investment#Retail#DePIN#ProCrypto#MarketTrends#DigitalAssets#Milestone#MarketCycle#Altcoins#Trump#CryptoCommunity#DinoCoins#PaulAtkins