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 слични објави

Пребарај: #consensys

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

@venturevillagewall · Post #4263 · 27.02.2025 г., 22:00

Major Crypto Movements and SEC Updates 🔴 1,800 #BTC transferred from #Kraken to unknown wallet (Value: $151.7M). 🔴 The SEC announces meme coins are generally not securities. 🔴 Coinbase and SEC have dismissed their lawsuit with prejudice. 🔴 SEC ends investigations into Robinhood, Uniswap, Gemini, and Consensys. 🔴 50,000,000 #USDC burned at USDC Treasury - full details here Current Bitcoin price: $84,000. #BTC#Kraken#USDC#SEC#Crypto#Coinbase#WhaleAlert#MemeCoins#Robinhood#Uniswap#Gemini#Consensys#Lawsuit#Investigation#Burn#Treasury#Market#CryptoMarket#Bitcoin#VC#AI

Venture Village Wall 🦄

@venturevillagewall · Post #3432 · 18.12.2024 г., 14:37

Aave Raises $31M for Lens Protocol Aave protocol developer secures $31M in a strategic funding round for Lens Protocol, spearheaded by Lightspeed Faction. Notable investors include Alchemy Ventures, Circle Ventures, and ConsenSys, among others. #Aave#LensProtocol#Funding#LightspeedFaction#AlchemyVentures#CircleVentures#ConsenSys#DigitalFinanceGroup#FabricVentures#ForesightVentures#Superscrypt#Re7Capital#WintermuteVentures#CaliberVentures#G20Group#BlockchainCoinvestors#BorderlessCapital#BodhiVentures#AlexGluchowski#AleksanderLarsen