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

Пребарај: #eventcontracts

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

@CryptoM · Post #65083 · 10.04.2026 г., 21:25

🚀 Kalshi Users Engage in Event Contracts on NASA's Artemis II Mission Kalshi users have been actively trading event contracts related to NASA's Artemis II mission, with trading volume reaching just over $4,000 as of Friday. According to NS3.AI, these contracts speculate on potential statements from NASA officials following the Artemis II splashdown. Additionally, Kalshi has listed contracts suggesting a 63% probability of a NASA manned Moon landing occurring before 2030, and a 41% chance of it happening before 2029. #Kalshi#NASA#ArtemisII#EventContracts#MoonLanding#SpaceExploration#Trading#NS3AI

Crypto M - Crypto News

@CryptoM · Post #64689 · 09.04.2026 г., 14:08

🚀 DOJ and CFTC Seek to Block Arizona's Action Against Kalshi The U.S. Department of Justice (DOJ) and the Commodity Futures Trading Commission (CFTC) have filed a motion in federal court to halt Arizona's criminal and civil enforcement actions against Kalshi. According to NS3.AI, the agencies contend that event contracts regulated by the CFTC are beyond the jurisdiction of state authorities and are governed by federal commodity law. #DOJ#CFTC#Kalshi#Arizona#eventcontracts#commoditylaw#federalcourt#statejurisdiction